Commit graph

381 commits

Author SHA1 Message Date
Alex Shinn
1e59b80a53 Using detectable optional args. 2013-08-04 17:01:51 +09:00
Alex Shinn
e136aa78e2 Updating additional docs to use backslash. 2013-08-04 17:01:22 +09:00
Alex Shinn
3212f52327 Updating heap-stats docs to use backslash escape. 2013-08-04 16:56:06 +09:00
Alex Shinn
cb8f50882d Updating filesystem docs to use backslash escape. 2013-08-04 16:55:31 +09:00
Alex Shinn
da403f7deb Updating disasm docs to use backslash escape. 2013-08-04 16:54:01 +09:00
Alex Shinn
a50f707f3b Removing spurious section header. 2013-08-04 15:56:06 +09:00
Alex Shinn
43b6f6496a Fixing source line miscalculation in read-line for non-string-stream builds. 2013-08-04 15:37:53 +09:00
Alex Shinn
3193dcb650 Adding string-find? utility. 2013-08-04 15:22:53 +09:00
Alex Shinn
92ccc0144a Patches from Ben Mather.
Allow #f to leave (srfi 99) record constructors and predicates undefined.
Distinguish default immutable fields (raw identifier), from default
mutable fields (list of one identifier) in the syntactic layer by not
creating setters for the immutable fields.  The record introspection
can still mutate such fields.
Fixes issue #190.
2013-07-30 21:15:24 +09:00
Alex Shinn
19e5398b92 Allowing a default predicate for methods.
Fixes issue #191.
2013-07-29 21:16:18 +09:00
Alex Shinn
8afb59f9ac Avoiding case-folding large, pre-defined Unicode char-sets. 2013-07-27 15:32:22 +09:00
Alex Shinn
131c8e93d4 Removing uneeded imports. 2013-07-25 22:12:49 +09:00
Alex Shinn
781c7b45b0 Fixing a bug in regexp-match not properly matching to the end of the string. 2013-07-24 22:03:43 +09:00
Alex Shinn
205c60a807 Initial version of (chibi regexp). 2013-07-24 21:36:02 +09:00
Alex Shinn
c3cb2fbdbb Fixing typo in test-group. 2013-07-23 22:45:32 +09:00
Alex Shinn
e0e23fc0fd Updating chibi.net.http with mime changes. 2013-07-23 07:35:34 +09:00
Alex Shinn
6dea74036a Making C string port API names match the Scheme side. 2013-07-21 15:24:04 +09:00
Alex Shinn
13b540418e C-level string API redesign with cursor support.
s/sexp_string_length/sexp_string_size/
Make sexp_string_ref/sexp_string_set Unicode aware.
Provide cursor level alternatives for efficiency.
Document all of this.
2013-07-21 14:59:51 +09:00
Alex Shinn
b6e2829b5d Updating (chibi uri) to use new string-find return values, which
were changed to offsets rather than potentially #f.
Also consistently using string-cursor API rather than indexes.
Fixes issue #189.
2013-07-21 14:01:36 +09:00
Alex Shinn
e0101944fd Raising an error in do iterator clauses with more then 3 terms.
Provides a friendlier error for cases like issue #187.
2013-07-20 15:12:52 +09:00
Alex Shinn
4ffa62d4ef Adding string-offset->index. 2013-07-15 15:22:45 +09:00
Alex Shinn
beb325a0d1 Exporting string->path-uri. 2013-07-15 11:47:17 +09:00
Alex Shinn
b007c25050 Typo in string-upcase-ascii. 2013-07-15 07:38:04 +09:00
Alex Shinn
56b3116e20 Adding string-downcase-ascii util to (chibi string). 2013-07-15 07:28:46 +09:00
Alex Shinn
eec5aaa0b4 Adding optional start/end params to string-find[-right]. 2013-07-15 07:20:17 +09:00
Alex Shinn
924352921a Adding sockaddr-port. 2013-07-14 18:40:23 +09:00
Alex Shinn
a3102c4c1e Adding additional constants and the ability to set addrinfo hints.
Setting the default hints to AI_PASSIVE so that standard listeners
(including those created implicitly by run-net-server) can listen
on all addresses.
2013-07-14 18:32:48 +09:00
Alex Shinn
2f8ef980d6 Adding an interface to socketpair. 2013-07-14 14:30:10 +09:00
Alex Shinn
1bd9a79e71 Allowing an abstract thunk interface to run-net-server. 2013-07-14 14:29:03 +09:00
Alex Shinn
dddc6d1806 Changing scribble notation to use TeX-style \ instead of @.
Documentation looks much nicer now (or at least more familiar).
Test cases become ugly because we need to double the escape in
strings.  Also escaping requires \"\\" which in a Scheme string
gets written \\"\\\\".  Consider \\ as a shortcut (which is still
\\\\ in a string).
2013-07-14 12:52:28 +09:00
Alex Shinn
4a7f1867d5 (chibi mime) now case-folds then interns headers to match normal SXML. 2013-07-13 10:38:50 +09:00
Alex Shinn
92b7304f89 Using standard @ instead of ^ as the SXML attributes symbols.
This was never a portable aspect of SXML before because in earlier
standards @ was an illegal identifier, but it is allowed in R7RS.
Scribble requires escaping with @|@| to pass through a raw @ symbol.
Considering using \ as the default scribble escape instead.
2013-07-13 10:04:40 +09:00
Alex Shinn
b713fb8c34 Fixing (atan -0.0 -1.0) case. 2013-07-13 09:26:25 +09:00
Alex Shinn
a49907b9b6 Fixing inexact comparisons to handle different signed arguments. 2013-07-13 09:14:57 +09:00
Alex Shinn
6425c1480b Using (chibi string) in (chibi mime). 2013-07-08 22:52:31 +09:00
Alex Shinn
ceaf4b760e Using let-keywords* for repl parameters. 2013-07-08 22:35:54 +09:00
Alex Shinn
e37011f358 Deferring execution of defaults. 2013-07-08 22:34:54 +09:00
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
74c121f2b2 Updating ephemerons use a context local type id.
Disabling weak vectors for now.
2013-06-17 22:02:55 +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
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
e74319cad3 Adding procedure-docs and print-procedure-docs. 2013-06-10 22:11:09 +09:00