├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE.md ├── Makefile ├── README.md ├── examples ├── book.doge ├── doge.c ├── fib.smallc ├── foobar.c ├── line_reader.c ├── lispy.c ├── maths.c ├── minimal.smallc ├── prelude.lspy ├── readme.maths ├── simple.maths ├── smallc.c ├── so_c.doge └── tree_traversal.c ├── mpc.c ├── mpc.h ├── mpc.pc ├── package.json └── tests ├── combinators.c ├── core.c ├── digits.txt ├── grammar.c ├── maths.grammar ├── ptest.c ├── ptest.h ├── regex.c └── test.c /.gitattributes: -------------------------------------------------------------------------------- 1 | "* text=auto" 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/README.md -------------------------------------------------------------------------------- /examples/book.doge: -------------------------------------------------------------------------------- 1 | wow c so language such book -------------------------------------------------------------------------------- /examples/doge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/doge.c -------------------------------------------------------------------------------- /examples/fib.smallc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/fib.smallc -------------------------------------------------------------------------------- /examples/foobar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/foobar.c -------------------------------------------------------------------------------- /examples/line_reader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/line_reader.c -------------------------------------------------------------------------------- /examples/lispy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/lispy.c -------------------------------------------------------------------------------- /examples/maths.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/maths.c -------------------------------------------------------------------------------- /examples/minimal.smallc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/minimal.smallc -------------------------------------------------------------------------------- /examples/prelude.lspy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/prelude.lspy -------------------------------------------------------------------------------- /examples/readme.maths: -------------------------------------------------------------------------------- 1 | (4 * 2 * 11 + 2) - 5 -------------------------------------------------------------------------------- /examples/simple.maths: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/simple.maths -------------------------------------------------------------------------------- /examples/smallc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/smallc.c -------------------------------------------------------------------------------- /examples/so_c.doge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/so_c.doge -------------------------------------------------------------------------------- /examples/tree_traversal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/examples/tree_traversal.c -------------------------------------------------------------------------------- /mpc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/mpc.c -------------------------------------------------------------------------------- /mpc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/mpc.h -------------------------------------------------------------------------------- /mpc.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/mpc.pc -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/package.json -------------------------------------------------------------------------------- /tests/combinators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/combinators.c -------------------------------------------------------------------------------- /tests/core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/core.c -------------------------------------------------------------------------------- /tests/digits.txt: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /tests/grammar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/grammar.c -------------------------------------------------------------------------------- /tests/maths.grammar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/maths.grammar -------------------------------------------------------------------------------- /tests/ptest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/ptest.c -------------------------------------------------------------------------------- /tests/ptest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/ptest.h -------------------------------------------------------------------------------- /tests/regex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/regex.c -------------------------------------------------------------------------------- /tests/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orangeduck/mpc/HEAD/tests/test.c --------------------------------------------------------------------------------