Giter VIP home page Giter VIP logo

xch-project's Introduction

XCH Project

Screenshot
Build Status

This is XCH Project.
It's a chemical equation balancing toolkit written in Rust language.
lib_xch
xch-ceb

Goals of this project

Swift, Small, Safe.

License

Licensed under GPL-3.0

Plans

  • Uses regex-based parser
  • Uses Gaussian-Jordan Elimination
  • Provides the set of Basic Solutions
  • Uses AST-based parser
  • Supports WebAssembly
  • Supports different kinds of I/O styles.

xch-project's People

Contributors

dependabot-preview[bot] avatar lexuge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fossabot

xch-project's Issues

panic: A+A=B

Description:

The library will panic when equation is A+A=B like.
panic info:

thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 2', /checkout/src/liballoc/vec.rs:1551:10
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Other notes:

  • A+A=A+B thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 3', /checkout/src/liballoc/vec.rs:1551:10 note: Run with RUST_BACKTRACE=1for a backtrace.
  • A+A=A+A+B thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 5', /checkout/src/liballoc/vec.rs:1551:10 note: Run with RUST_BACKTRACE=1for a backtrace.

HIGH LEVEL

Can't balance `Mg+O2=C+MgO`

Excepted behaviors:

Mg+O2=C+MgO => 2Mg+O2=C+2MgO

Current behaviors:

Mg+O2=C+MgO => NoAnswer

Steps to reproduce behaviors:

Just use API simply to reproduce it.

Actually, there is no issue.

Move to `nom`

Use nom instead of pest for better performance and neat code.

Separate `Cell` from `lib_xch`

Currently, Cell is a mod in lib_xch which aims to provide safe computing (computing without overflow)

I am going to separate it from lib_xch in order to provide Cell to other projects.

WIP, I will post the schedule for it soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.