C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Theo Souchon 38b6693d23 Changing the readme 2 年之前
media Modification of the README.md 2 年之前
parsimonyLibrary Update dynamicObject.mc 2 年之前
tests-c added comments where the test fails 3 年之前
tests-cpp test folders 3 年之前
tests-err updated comments 3 年之前
tests-gnu deleted *.out files 3 年之前
tests-parsimony Simplification of dynamicObject.mc 2 年之前
tests-std deleted *.out files 3 年之前
.gitignore append part almost done & beginning of map function 2 年之前
AUTHORS Add AUTHORS and .gitignore 3 年之前
LICENSE Initial commit 3 年之前
Makefile Adding flags for HOMEBREW and update of the gitignore 2 年之前
README.md Changing the readme 2 年之前
buffer.h Initial import of framework. 3 年之前
ccmeta-input.txt new input file with dynamic C expression 3 年之前
ccmeta.leg Simplification of dynamicObject.mc 2 年之前
debug.c added a file to help debug 3 年之前
dotest updated dotest 3 年之前
object.c Fix code 2 年之前
protoNumber.txt Total independence of parsimony 2 年之前
scope.c updated scopes to be easier to manipulate 3 年之前
testPars.sh new test file and some advances in realObject 2 年之前

README.md

CCMETA

C compiler with embedded metalanguage.

Table of contents

  1. Architecture
  2. Build the project
  3. Usage
  4. Help

Architecture

alt text

Go to the table of contents

Build the project

Requirements

Please install peg/leg manually or with a package manager, for example with Homebrew:

$ brew install peg

Please install the Boehm-Demers-Weiser conservative garbage collector manually or with a package manager, for example with Homebrew:

$ brew install bdw-gc

Makefile

Compatible with the homebrew installed on the apple silicon ship

Build

$ make

Clean

$ make clean

Test

$ make test

Go to the table of contents

Usage

How it works

You can pass your program:

  • via an input file
$ ./ccmeta < file
  • via a file
$ ./ccmeta file

Check each test file to get an idea of how parsimony works

Go to the table of contents

Help

peg/leg

$ man peg

Go to the table of contents