Releases: MatthewKosloski/torrey
Releases · MatthewKosloski/torrey
torreyc-3.0.1
- Includes a bug fix addressing issue 1.
torreyc-2.0.1
Patch: return successful exit code
torreyc-1.0.1
Patch: return successful exit code to OS
torreyc-3.0.0
Version 3.0.0 of the Torrey compiler.
This compiler implements (part) of the following grammar:
program -> expr* ;
expr -> primitive
| identifier
| unary
| binary
| print
| let
| not
| and
| or
| if ;
boolean -> "true" | "false" ;
integer -> [0-9]+ ;
identifier -> [a-zA-Z_$]+ [a-zA-Z0-9_$!?-]* ;
primitive -> integer | boolean ;
unary -> "(" "-" expr ")" ;
binary -> "(" ("+" | "-" | "*" | "/" | "==" | "<" | "<=" | ">" | ">=") expr expr ")" ;
print -> "(" ("print" | "println") expr+ ")" ;
let -> "(" "let" "[" (identifier expr)* "]" expr* ")" ;
not -> "(" "not" expr ")" ;
and -> "(" "and" expr expr+ ")" ;
or -> "(" "or" expr expr+ ")" ;
if -> "(" "if" expr expr expr? ")" ;
Contents of the release:
- Dependent run-time C code
runtime.c
andruntime.h
. - The JAR executable
torreyc-3.0.0.jar
of the compiler.
System requirements:
- Ubuntu (Tested on Ubuntu 18.04 LTS)
gcc
(Tested on 7.5.0)javac
(Tested on 11.0.10 and 12.0.2)
torreyc-2.0.0
Version 2.0.0 of the Torrey compiler.
This compiler implements the following grammar:
program -> expr* ;
expr -> integer
| identifier
| unary
| binary
| print
| let ;
integer -> [0-9]+ ;
identifier -> [a-zA-Z_$]+ [a-zA-Z0-9_$!?-]* ;
unary -> "(" "-" expr ")" ;
binary -> "(" ("+" | "-" | "*" | "/") expr expr ")" ;
print -> "(" ("print" | "println") expr+ ")" ;
let -> "(" "let" "[" (identifier expr)* "]" expr* ")" ;
Contents of the release:
- Dependent run-time C code
runtime.c
andruntime.h
. - The JAR executable
torreyc-2.0.0.jar
of the compiler.
System requirements:
- Ubuntu (Tested on Ubuntu 18.04 LTS)
gcc
(Tested on 7.5.0)javac
(Tested on 11.0.10 and 12.0.2)
torreyc-1.0.0
Version 1.0.0 of the Torrey compiler.
This compiler implements the following grammar:
program -> expression* ;
expression -> integer
| unary
| binary
| print ;
integer -> [0-9]+ ;
unary -> "(" "-" expression ")" ;
binary -> "(" ("+" | "-" | "*" | "/") expression expression ")" ;
print -> "(" ("print" | "println") expression+ ")" ;
Contents of the release:
- Dependent run-time C code
runtime.c
andruntime.h
. - The JAR executable
torreyc-1.0.0.jar
of the compiler.
System requirements:
- Ubuntu (Tested on Ubuntu 18.04 LTS)
gcc
(Tested on 7.5.0)javac
(Tested on 11.0.10 and 12.0.2)