Commit graph

1623 commits

Author SHA1 Message Date
Alex Shinn
53cecd82b2 Forgot quotes. 2013-07-08 22:12:10 +09:00
Alex Shinn
ac35703685 Adding let-keywords[*]. 2013-07-08 22:09:42 +09:00
Alex Shinn
fef8c1a459 Adding auto-help facilities. 2013-07-07 18:30:46 +09:00
Alex Shinn
925118b9f3 Adding thread-list to get a list of all running threads.
This conses a new list for safety (not sharing with the scheduler)
and so is not a cheap operation if many threads are running.
2013-07-07 16:38:28 +09:00
Alex Shinn
050b353f34 Adding missing eof-object procedure.
Fixes issue #183.
2013-06-25 22:22:01 +09:00
Alex Shinn
6f1c038989 fixing bug in chained keys 2013-06-20 23:29:07 +09:00
Alex Shinn
b4ea0a437f removing set! 2013-06-20 23:01:27 +09:00
Alex Shinn
03fcf059c9 -r also works together with -e/-p options 2013-06-19 23:20:31 +09:00
Alex Shinn
6e5f1e80f3 Python envy. SRFI-22 -r can now be used without a script,
and the main will be inferred from loaded modules.
See issue #182.
2013-06-19 23:15:43 +09:00
Alex Shinn
11b7a05308 For now build tests just check the core. 2013-06-17 22:27:32 +09:00
Alex Shinn
b3ad71cb90 Updating test targets. "make test" now runs the R7RS test suite.
"make test-all" runs R7RS + libs + FFI.  "make test-dist" also
runs memory and build tests.
2013-06-17 22:07:20 +09:00
Alex Shinn
74c121f2b2 Updating ephemerons use a context local type id.
Disabling weak vectors for now.
2013-06-17 22:02:55 +09:00
William Light
34adcd3b19 Implement SEXP_MAX_ANALYZE_DEPTH
This fixes issue #89.
---
 eval.c                   | 90 ++++++++++++++++++++++++++----------------------
 include/chibi/features.h |  4 +++
 2 files changed, 53 insertions(+), 41 deletions(-)
2013-06-17 21:09:05 +09:00
Alex Shinn
9c56a53797 Fixing test-memory after sexp.c refactoring and improved stack traces. 2013-06-17 06:45:27 +09:00
Alex Shinn
3cecf4e400 Removing unintentional disabling of Scheme load in main. 2013-06-16 10:32:44 +09:00
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
8692ff052e Clarifying PREFIX should specified to make in addition to make install. 2013-06-15 12:46:27 +09:00
Alex Shinn
c81f3ded3c Adding environment: option to repl.
Fixes issue #180.
2013-06-15 12:40:33 +09:00
Alex Shinn
d3cc4de281 Fixing typo in integer case of inexact numerator/denominator.
Fixes issue #179.
2013-06-11 21:01:38 +09:00
Alex Shinn
ced12fc92a Adding extra inexat numerator/denominator tests. 2013-06-11 06:57:53 +09:00
Alex Shinn
e74319cad3 Adding procedure-docs and print-procedure-docs. 2013-06-10 22:11:09 +09:00
Alex Shinn
d6b6ce955b Differentiating between analyze_app and the new analyze_list.
The latter is just for any list of ASTs to analyze, whereas the former
checks for lambda applications and fills in names.  Fixes equality
comparisons for procedures, so (equal? (lambda (x) x) (lambda (y) y))
now returns true.
2013-06-08 23:37:12 +09:00
Alex Shinn
5f628c8e72 Max and min should coerce to inexact if any argument if inexact.
Fixes issue #178.
2013-06-04 22:01:13 +09:00
Alex Shinn
4c0bb08996 Fixing exactness in square test. 2013-06-04 21:59:08 +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
b4dc6f994b Generating lib docs in html format. 2013-06-04 06:11:25 +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
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