Commit graph

122 commits

Author SHA1 Message Date
Alex Shinn
d7db3effa8 The guard-like macro in the core language is now called protect.
This is the recommended syntax for error-handling in Chibi-specific
programs, since it's not possible to get stack traces when using
R[67]RS guard.  guard is defined separately and according to the
standard in (scheme base).
2013-06-15 18:43:44 +09:00
Alex Shinn
053f293e5e Refactoring repl. 2013-06-15 18:15:50 +09:00
Alex Shinn
83fb186edc Wrapping continuable exceptions in specially tagged exceptions rather than pairs.
This way C functions that check for and print exceptions support them
automatically.  Notably continuable errors in macro expansions, will had
temporarily been suppressed, are printed again.
2013-06-15 17:47:37 +09:00
Alex Shinn
c81f3ded3c Adding environment: option to repl.
Fixes issue #180.
2013-06-15 12:40:33 +09:00
Alex Shinn
e74319cad3 Adding procedure-docs and print-procedure-docs. 2013-06-10 22:11:09 +09:00
Alex Shinn
bb00cdaf1b Default test comparator should require same exactness. 2013-06-04 21:58:32 +09:00
Alex Shinn
3704289138 Handling raw numbers in sxml format. 2013-06-04 06:14:46 +09:00
Alex Shinn
eed67d5872 Render parameter in print-module-[binding-]docs can be made #f for the default. 2013-06-04 06:08:02 +09:00
Alex Shinn
95e92815ae Adding @help to (chibi repl) to lookup online docs. 2013-06-04 05:39:56 +09:00
Alex Shinn
d917dfcd72 Factoring print-module-docs and print-module-binding-docs into (chibi doc). 2013-06-04 04:49:49 +09:00
Alex Shinn
95fff8f056 Checking for a non-empty list in expand-docs. 2013-06-04 04:30:51 +09:00
Alex Shinn
a24c76a02d Better error handling for parsers. 2013-06-04 04:26:01 +09:00
Alex Shinn
65ed450d7a Supporting macro source info in docs, more robust line range checking. 2013-06-02 19:45:25 +09:00
Alex Shinn
ea5a424ede Refactoring most of chibi-doc tool into the (chibi doc) module. 2013-06-02 18:46:27 +09:00
Alex Shinn
5797ac661a Fixing offsets for bytecode accessors. 2013-06-01 18:55:04 +09:00
Alex Shinn
b77e4397d7 Exporting sockaddr and addrinfo. 2013-05-30 08:09:05 +09:00
Alex Shinn
a12df113c5 Conditionally define Complex and Ratio types. 2013-05-28 22:51:02 +09:00
Alex Shinn
83b320a301 Adding parse-binary-op utility to (chibi parse common). 2013-05-03 00:12:44 +09:00
Alex Shinn
d6c20873e4 Fixing bug in test-equal? returning numeric results for non-real expects. 2013-05-02 23:52:37 +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
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
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
b840602d6c Guarding @import expressions from the repl. 2013-04-01 20:38:35 +09:00
Alex Shinn
b3eab11692 Removing spurious debug output. 2013-03-11 00:01:31 +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
738cb3ac9a Fixed typo for building ast w/o threads - #if not #ifdef. 2013-02-27 08:48:13 +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
a32ae03add Not quite the right fix - will do this properly later. 2013-02-20 22:10:57 +09:00
Alex Shinn
f142212701 fixing multi-line input 2013-02-20 21:49:22 +09:00
Alex Shinn
f60b72dbc0 fit in 80 columns 2013-02-18 23:03:48 +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
55df642dab Better initial defaults for equality bounds checking. 2013-01-26 23:42:22 +09:00
Alex Shinn
c5e4384821 Removing base exports from (chibi char-set ascii) exports. 2013-01-04 23:38:13 +09:00
Alex Shinn
902a37b259 call-with-process-io auto-non-blocks the fds 2012-12-31 00:34:48 +09:00
Alex Shinn
a8eb496962 get/set-file-descriptor-flags/status[!] now accept port arguments 2012-12-31 00:27:03 +09:00
Alex Shinn
119c95b222 Adding missing change from last patch (import (srfi 33) in edit-line). 2012-12-26 23:25:41 +09:00
Alex Shinn
a481f31571 Supporting double-width characters in line editor. 2012-12-26 23:10:46 +09:00
Alex Shinn
8c8358f3a5 Updating version. 2012-12-26 22:04:47 +09:00
Alex Shinn
c1185cd302 Spelling correction. 2012-12-26 22:03:14 +09:00
Alex Shinn
41a672864b Making the match-let family insert a lexical closure to allow internal defines. 2012-12-26 22:02:27 +09:00
Alex Shinn
cb22ae6ff9 Supporting utf8 in edit-line. Still need to handle non-single-width characters properly. 2012-12-26 07:51:49 +09:00