C compiler with embedded metalanguage.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
Theo Souchon 1f09f074a1 Added constant, initializer and statement processing. 2 роки тому
media Modification of the README.md 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 Added constant, initializer and statement processing. 2 роки тому
tests-std deleted *.out files 3 роки тому
.gitignore Adding flags for HOMEBREW and update of the gitignore 2 роки тому
AUTHORS Add AUTHORS and .gitignore 3 роки тому
LICENSE Initial commit 3 роки тому
Makefile Adding flags for HOMEBREW and update of the gitignore 2 роки тому
README.md Modification of the README.md 2 роки тому
buffer.h Initial import of framework. 3 роки тому
ccmeta-input.txt new input file with dynamic C expression 3 роки тому
ccmeta.leg Added constant, initializer and statement processing. 2 роки тому
debug.c added a file to help debug 3 роки тому
dotest updated dotest 3 роки тому
object.c add slices and additional constructors for: array map symbol string 2 роки тому
scope.c updated scopes to be easier to manipulate 3 роки тому

README.md

CCMETA

C compiler with embedded metalanguage.

Table of contents

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

Architecture

alt text

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

Build

$ make

Clean

$ make clean

Test

$ make test

Usage

You can pass your program:

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

Help

peg/leg

$ man peg