AST
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
mtardy eb6269de4d Change readme title to Javascrypt hace 4 años
drafts Add the object structure hace 4 años
.gitignore Add Map and String data structure hace 4 años
Makefile Fix for object hace 4 años
README.md Change readme title to Javascrypt hace 4 años
calc.leg Add a scope parameter in intern function hace 4 años
object.c map_insert and map_set return value inserted instead of whole map hace 4 años
test.sh Add the object structure hace 4 años
test.txt Add Map and String data structure hace 4 años
test2.txt Add a scope parameter in intern function hace 4 años

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