picrin
picrin copied to clipboard
lightweight scheme interpreter
$ make cc -I./lib/include -I./include -Wall -Wextra -O2 -g -DNDEBUG=1 -c -o src/load_piclib.o src/load_piclib.c src/load_piclib.c:15:20: warning: implicit declaration of function 'pic_fmemopen' is invalid in C99 [-Wimplicit-function-declaration] pic_value port = pic_fmemopen(pic,...
In a commit on May 12, 2017, "bugfix: dyn_env is not properly restored on delim-cont call", a change was made to error.c in the generated file lib/ext but not to...
Addressing issue #351 a bit. The definition of `display` in error.scm always uses `current-error-port`, which was causing the build to fail making init_lib.c and others. Changed to use `current-output-port` in...
(Copied from #349, sorry.) When we use shell-redirection to generate target in `Makefile`, we have to remove failed output explicitly. Otherwise, we will get empty file as target even on...
see #345
Add a means for `(picrin test)` cases to expect an error and "pass" if the error is received, "fail" if not. Add a test case `t/substring-index.scm` to test this feature...
The library of big integer operations. ## Description `make-bigint` : Creates a bigint. It accepts integers and strings. `bigint-add`, `bigint-sub`, `bigint-mul`, `bigint-div`, `bigint-rem` : Operations. Quotients are truncated toward 0....
This is a preparation for enchant `(picrin test)` BTW should this and `(picrin test)` be moved to contrib?
WIP - discuss document format - document standard procs (I prepared some skeltons) - Ability to document other than procs I know now benz support attributes for all type of...
string->transient transient->string transient? transient-string-set! transient-string-ref transient-string-length transient-string-append!