Move the data.c and data.h files to lang.c and lang.h

This is in preparation for another change for toybox: as of right now,
static constant data is interwoven all together with functions when I
cut a toybox release. That won't do, so I want to put all of the
constant data into one file. I wanted to call it data.c, but that was
already taken.

However, I realized that the current data.c really holds language
contructs (for the bc language), so that is where the rename comes from.
2 files changed
tree: c1cc06c0745b2eb41330ad2e083ff9a3586a86d8
  1. include/
  2. src/
  3. tests/
  4. toybox/
  5. .gitignore
  6. LICENSE.md
  7. Makefile
  8. NOTICE.md
  9. 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 develop/master split. (Main development is on develop, and master 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.