Fix a bug in the parser found by inspection
1 file changed
tree: d0c7212b5a83038dc21b8d2de40f17dd698efd81
  1. include/
  2. src/
  3. tests/
  4. .gitignore
  5. LICENSE.md
  6. Makefile
  7. NOTICE.md
  8. README.md
README.md

bc

This is an implementation of POSIX bc that implements GNU bc extensions.

This bc is Free and Open Source Software (FOSS). It is licensed under the BSD 3-clause License, with a special exemption for the Toybox project to use it under the BSD 0-clause License.

Because this bc makes use of arbprec by cmgraff and hexingb et al, this bc is a collaborative effort. All arbprec contributors are considered bc contributors.

Status

This bc is not even in alpha stage yet, so it is not ready for use. However, at this time, it can do basic math operations (+, -, *, /, %) on constants.

Cloning

After cloning, make sure to run git submodule update --init --recursive to clone the arbprec submodule.

Language

This bc is written in pure ISO C99.

Git Workflow

This bc uses the git workflow described in this post. Developers who want to contribute are encouraged to read that post carefully.

For feature branches, it uses rebase + merge --no--ff (option 3). It also uses a master/release split. (Main development is on master, and release just points to the latest tagged release to make it easy for users to get the latest release.)

This bc includes scripts and a .gitconfig that helps manage the workflow. New contributors should familiarize themselves with them.

Commit Messages

This bc uses the commit message guidelines laid out in this blog post.

Semantic Versioning

This bc uses semantic versioning.

Contents Listing

Every folder contains a README file which lists the purposes for the files and folders in that directory.

Contents

Files:

LICENSE.md      A Markdown the BSD 3-clause License.
NOTICE.md       List of contributors and copyright owners.

Folders:

docs        Contains all of the documentation (currently empty).
include     Contains all of the public header files.
src         All source code.
tests       Tests.