Commit graph

1701 commits

Author SHA1 Message Date
Alex Shinn
83f8cfd69b Adding note about the derived syntax definition of quote. It makes
compilation slightly but noticeably slower and is inconvenient, so
leaving as a core form for now.
2013-04-09 21:46:29 +09:00
Alex Shinn
2e63b2be00 Using non-mutating tree of dynamic-wind state for thread safety. 2013-04-07 23:59:41 +09:00
Alex Shinn
d76c4e47c9 Using scheme load when available for scripts to preserve stack traces. 2013-04-07 23:46:30 +09:00
Alex Shinn
6c869d67db temporarily disabling scheme-report-environment test 2013-04-07 23:40:14 +09:00
Alex Shinn
41bf531485 Adding various environment and core AST accessors needed for the pure-scheme eval. 2013-04-07 20:10:42 +09:00
Alex Shinn
63a365f214 Factoring out generate opcode and exporting it. 2013-04-07 20:09:39 +09:00
Alex Shinn
f4b42132a3 Making sexp_env_cell_define available. 2013-04-07 17:08:56 +09:00
Alex Shinn
dcd65cc9da Using cond-expand for faster match-check-ellipsis and match-check-identifier in Chibi. 2013-04-05 20:36:40 +09:00
Alex Shinn
242ab2c8e6 Adding an explicit error for record rtd and constructor conflicts. 2013-04-05 20:22:46 +09:00
Alex Shinn
07c6e3765b Initialize record fields to void. 2013-04-05 20:20:03 +09:00
Alex Shinn
7c1c40fb07 checking for NULLs before checking exceptions 2013-04-05 19:55:36 +09:00
Alex Shinn
0f723c17ea Alternate guard form - evaluate the guard clauses in the continuation of the raise.
We need to override the current-exception-handler and still pass a thunk to be
applied on return, but this allows us to print stack traces inside guards.
2013-04-03 00:18:58 +09:00
Alex Shinn
af8aed4c5a string-split on the empty string is null, on a single space is two empty strings 2013-04-02 22:20:41 +09:00
Alex Shinn
98bad7bc63 Aligning line wrap in nested test groups. 2013-04-01 23:31:19 +09:00
Alex Shinn
39b67ea455 Reducing primitive errors to warnings.
Should add an option to escalate all warnings to errors.
2013-04-01 22:30:47 +09:00
Alex Shinn
95215e9228 Adding warning to remind people to (import (scheme base)). 2013-04-01 21:55:18 +09:00
Alex Shinn
64931197a6 Fixing warnings inside modules with no current-error-port defined. 2013-04-01 21:05:51 +09:00
Alex Shinn
b840602d6c Guarding @import expressions from the repl. 2013-04-01 20:38:35 +09:00
ashinn
4452607836 Speeding up build tests with CFLAGS and parallel make.
Now all combinations complete in half a minute.
2013-03-23 21:17:08 +01:00
ashinn
b16a214fee sexp_bignum_sqrt is only needed if SEXP_USE_MATH is enabled. 2013-03-23 21:16:21 +01:00
ashinn
ec8255a27b Fixing sqrt for builds with bignums but no complex. 2013-03-23 21:13:11 +01:00
Alex Shinn
b3eab11692 Removing spurious debug output. 2013-03-11 00:01:31 +09:00
Alex Shinn
39e2e96a60 ast.so only needs GCLDFLAGS, not full LDFLAGS which breaks for cygwin 2013-03-10 23:59:07 +09:00
Alex Shinn
c63e00453c Adding SRE char-set handling to (chibi parse).
I wanted to avoid the full char-set dependency, but
it's too useful and the alternatives to ugly in grammars.
2013-03-09 19:16:26 +09:00
Alex Shinn
4d6d56f002 printing test vars on fail/error when provided 2013-03-08 19:12:02 +09:00
Alex Shinn
671b037270 Fixing module? predicate for export-all modules. 2013-03-04 23:33:35 +09:00
Alex Shinn
7dc3a63c21 Fixing bounds and multi-chunk stream errors. 2013-03-04 23:19:37 +09:00
Alex Shinn
8cd7b9a265 Adding file-descriptor type to (chibi ast). 2013-03-03 16:52:57 +09:00
Alex Shinn
6917cdabfb Adding Complex type definition to (chibi ast). 2013-02-28 22:35:51 +09:00
Alex Shinn
e281854483 SRFI-18 can now build without error for threadless builds, as an empty library.
Actually importing it in this case reports an error.
2013-02-27 20:58:44 +09:00
Alex Shinn
6af5f46721 Fixing exception handlers for threadless builds. 2013-02-27 20:57:40 +09:00
Alex Shinn
a61cebb1e9 Thread parameters are still needed when threads are disabled. 2013-02-27 09:04:56 +09:00
Alex Shinn
d13aa7c4f2 Cond-expand out threading code to load leap-second table dynamically when threads are disabled. 2013-02-27 09:04:15 +09:00
Alex Shinn
738cb3ac9a Fixed typo for building ast w/o threads - #if not #ifdef. 2013-02-27 08:48:13 +09:00
Alex Shinn
d7e61680fb Handling (chibi ast) the same for make clean/install/uninstall as other chibi libs.
Fixes issue #175.
2013-02-26 08:30:32 +09:00
Alex Shinn
d636e8d57f Speeding up grammar macros with a cond-expanded ER macro.
Fixing macro walking for multi-arg variants of */+/?.
Adding -> as an alias for =>, maybe deprecate the latter.
2013-02-25 08:06:02 +09:00
Alex Shinn
678db7888a Fixing octal case of parse-c-integer. 2013-02-25 08:04:18 +09:00
Alex Shinn
3b52d30af1 Checking for null objects in type-of. 2013-02-25 08:03:06 +09:00
Alex Shinn
e18de40fe2 Adding initial parser combinator library. API still subject to change. 2013-02-21 22:56:07 +09:00
Alex Shinn
9f56df7de2 Forgot to add FFI test script. 2013-02-21 21:44:20 +09:00
Alex Shinn
a32ae03add Not quite the right fix - will do this properly later. 2013-02-20 22:10:57 +09:00
Alex Shinn
cd0a6bd41f Don't include benchmarks in distribution. 2013-02-20 21:57:52 +09:00
Alex Shinn
f142212701 fixing multi-line input 2013-02-20 21:49:22 +09:00
Alex Shinn
27af40b2fa load shouldn't search for the file 2013-02-20 20:43:25 +09:00
Alex Shinn
f60b72dbc0 fit in 80 columns 2013-02-18 23:03:48 +09:00
Alex Shinn
b2caf66dcb Adding a type check on env-exports. 2013-02-14 22:13:30 +09:00
Alex Shinn
a689b1a399 primitive load should use a fresh stack 2013-02-11 15:24:31 +09:00
Alex Shinn
c468e328a5 defining load on source files in scheme 2013-02-11 15:22:06 +09:00
Alex Shinn
20c62ffe4a The global ABI error object needs to be an immediate, since if
the ABI is incompatible we can't even necessarily refer to a
global from within the bad library.
2013-02-10 16:38:18 +09:00
Alex Shinn
7d0ab043a2 initial ffi tests 2013-02-10 16:37:18 +09:00