AST
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
mtardy 73fc6a9e08 Remove Symbol's value and defined and store them in Map KV 4 anos atrás
drafts Add the object structure 4 anos atrás
.gitignore Add Map and String data structure 4 anos atrás
Makefile Fix for object 4 anos atrás
README.md Change readme title to Javascrypt 4 anos atrás
calc.leg Remove Symbol's value and defined and store them in Map KV 4 anos atrás
object.c Remove Symbol's value and defined and store them in Map KV 4 anos atrás
test.sh Add the object structure 4 anos atrás
test.txt Add Map and String data structure 4 anos atrás
test2.txt Add a scope parameter in intern function 4 anos atrás

README.md

Javascrypt

Requirements

Please install peg/leg manually or with Homebrew:

$ brew install peg

Please install the Boehm-Demers-Weiser conservative garbage collector manually or with Homebrew:

$ brew install bdw-gc

Build

$ make

Usage

$ echo "a=2+3 a*2" | ./calc

Tests

Simple tests:

$ ./test.sh

Custom test:

$ ./calc < test.txt