Minimal (?) protype-based language.
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.
 
Ian Piumarta 4ac12f91c5 Add symbols #O, #d, #v and Symbol.setop() primitive. Add primitive method Symbol.setopt(N) to set command-line option at runtime. Add primitive method Symbol.defined() to test if a variable name has been defined. Overload primitive "+" to concatenate strings. Add stack of namespaces, initialised to empty object. refvar() and getvar() search namespaces, from most to least recent, when looking for global variables. setvar() always defines globals in the most recent namespace regardless of any existing shadowed definitions. Make OBJ::NAME a synonym for OBJ.NAME except that OBJ::NAME() applies a function whereas OBJ.NAME() invokes method NAME on OBJ. Add primitive error() to print source location, error message, and backtrace. преди 1 година
.gitignore Ignore more irrelevant stuff. преди 1 година
Makefile Define _GNU_SOURCE to expose qsort_r(). преди 1 година
README.md Initial commit преди 1 година
bench-sieve.txt Include recent results as comments. преди 1 година
bench.txt Include recent results as comments. преди 1 година
minproto.leg Add symbols #O, #d, #v and Symbol.setop() primitive. Add primitive method Symbol.setopt(N) to set command-line option at runtime. Add primitive method Symbol.defined() to test if a variable name has been defined. Overload primitive "+" to concatenate strings. Add stack of namespaces, initialised to empty object. refvar() and getvar() search namespaces, from most to least recent, when looking for global variables. setvar() always defines globals in the most recent namespace regardless of any existing shadowed definitions. Make OBJ::NAME a synonym for OBJ.NAME except that OBJ::NAME() applies a function whereas OBJ.NAME() invokes method NAME on OBJ. Add primitive error() to print source location, error message, and backtrace. преди 1 година
test.ref Object.dump() uses Object.allKeys() instead of Object.keys(). преди 1 година
test.txt Object.dump() uses Object.allKeys() instead of Object.keys(). преди 1 година
test2.txt import files преди 1 година

README.md

minproto

Minimal (?) protype-based language.