Redo the bc_program_read() function

This necessitated ripping out a lot of now-useless code.
6 files changed
tree: ef07b45152bed1e01215f23378e5dee1252f7b39
  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.

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.

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.