Commit graph

1790 commits

Author SHA1 Message Date
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
7dc90d7262 chibi-doc now supports outputting the docs for a single variable.
You can also choose between HTML and text output.
2013-06-02 12:38:24 +09:00
Alex Shinn
1736a8306b Adding set-port-line! and using it in the pure Scheme load to preserve source info. 2013-06-02 10:44:10 +09:00
Alex Shinn
5797ac661a Fixing offsets for bytecode accessors. 2013-06-01 18:55:04 +09:00
Alex Shinn
3703414710 Ignoring temp FFI test files. 2013-05-31 23:54:27 +09:00
Alex Shinn
a49f14d011 Adding currently immutable (current-module-path). 2013-05-31 23:39:56 +09:00
Alex Shinn
2b5f8ea007 Adding -s option to escalate warnings to errors.
Fixes issue #107.
2013-05-31 23:31:03 +09:00
Alex Shinn
fb858ac5fe Missing vm changes for non-raised FFI exceptions from a7ffc1f42a2b. 2013-05-31 23:29:07 +09:00
Alex Shinn
b77e4397d7 Exporting sockaddr and addrinfo. 2013-05-30 08:09:05 +09:00
Alex Shinn
aba919f1b4 Binding C types, and adding declare-c-struct/class/union to access them from imported libraries. 2013-05-30 08:08:42 +09:00
Alex Shinn
6659baa6b6 Better error message for mistaken usage of chibi-doc.
Fixes issue #177.
2013-05-29 23:49:06 +09:00
Alex Shinn
9ed486dbe3 Adding sexp_maybe_wrap_error utility to pass exceptions from the FFI without raising.
Fixes issue #156.
2013-05-29 23:37:30 +09:00
Alex Shinn
dcb8fc292c Commented out warning. 2013-05-29 23:35:35 +09:00
Alex Shinn
9c622fef67 Renaming dynamic-wind point routines to avoid likely user names. 2013-05-29 23:32:54 +09:00
Alex Shinn
5ba723333f Disabling some simplifications that interact badly with GC.
Based on error report from Alan Watson.  Revisit this later.
2013-05-29 21:01:41 +09:00
Alex Shinn
b10cb94e17 Reset the current parameters in child threads.
This is simple and fast.  Inheriting all threads causes immediate
problems with exception handlers, and in general should use
copy-on-write behavior so that child threads can't affect parents.  If
we make an eager copy of the parameters we can filter out just the
exception handler, but then thread creation is expensive.  The ideal
design might allow selectively enabling parameter inheritance.
2013-05-29 20:40:48 +09:00
Alex Shinn
a12df113c5 Conditionally define Complex and Ratio types. 2013-05-28 22:51:02 +09:00
Alex Shinn
0686b03258 Fixing source info tracking in \<newline> string escapes and multi-lined comments. 2013-05-28 21:29:34 +09:00
Alex Shinn
99d9203362 \<space><newline><space> should only skip one line 2013-05-28 21:24:21 +09:00
Alex Shinn
20a2c02b19 Adding backslash line read tests. 2013-05-28 21:23:52 +09:00
Alex Shinn
86cc80f67f Patch from Lorenzo to fix previous incomplete patch. 2013-05-28 19:53:14 +09:00
Alex Shinn
dde47a7846 Setting new thread's dynamic wind state to a fresh root. 2013-05-27 22:23:54 +09:00
Alex Shinn
99c8992207 make-thread no longer needs to reset the dynamic continuation 2013-05-26 08:58:19 +09:00
Alex Shinn
2cb9d2237f Better error message for invalid args to sorted?. 2013-05-12 10:31:30 +09:00
Alex Shinn
74775675fc Fixing sort on vectors for comparators other than <.
Also applying the dups fix analog to 0d36042bb1c6 for non-< comparators.
2013-05-12 10:30:38 +09:00
Alex Shinn
59c3171c39 Partition needs to split on <= to handle dups properly. 2013-05-11 13:39:36 +09:00
Alex Shinn
908be71b17 Reverting previous sorted? change. 2013-05-11 13:02:30 +09:00
Alex Shinn
5db2afb02d Extra gc preservation. 2013-05-11 12:58:20 +09:00
Alex Shinn
7a08f86b3d sorted? should support <= 2013-05-11 12:41:51 +09:00
Alex Shinn
13f9d0f8d0 Fixing SRFI-95 sort for inexacts differing only in the fractional part
(reported by Alan Watson).
Also adding support for complex and ratios.
2013-05-11 12:34:16 +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
98863f53cb Adding detection of 64bit for powerpc (patch from Stephen Lewis). 2013-04-24 23:43:16 +09:00
Alex Shinn
4e14a4ecbd Adding <parent> param to register-simple-type snippet. 2013-04-16 06:58:35 +09:00
Alex Shinn
0659ad4484 Need to GC preserve earlier in sexp_sqrt. 2013-04-14 05:01:38 +00:00
Alex Shinn
52001c7d5e Adding a sanity check in sexp_bignum_sqrt. 2013-04-14 05:01:08 +00:00
Alex Shinn
f8a5f7e004 exact-integer-sqrt should continue the babylonian method in scheme.
The estimate given by the C code could be off by a large margin when
the result is inexact, converging far too slowly if we use simple
increments in Scheme.
2013-04-14 04:59:49 +00:00
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