Alex Shinn
72ec53ca26
More thorough checks for SEXP_MIN_FIXNUM/-1.
...
Closes #1006 .
2025-01-30 11:44:23 +09:00
Eleanor Bartle
243fd41aad
Conform to 1/0 style
2024-06-03 11:43:32 +10:00
Alex Shinn
f60298b707
Initial half and quarter precision uniform vectors.
...
Quarter precision is 1.5.2 format.
Used to implement f16-storage-class and f8-storage-class.
Can be disabled at compile time.
2024-05-24 19:04:44 +09:00
Jonas Rinke
ce7d4e1e3a
Added missing argument to sexp_string_cursor_set
2024-05-21 21:22:17 +02:00
Alex Shinn
3b6be9d60c
Fix cmake build.
2024-05-18 05:45:45 +09:00
Alex Shinn
8653dddeb3
Merge pull request #856 from dpapavas/static-user-libs
...
Add support for exporting statically compiled libraries from C
2022-10-31 18:54:40 +09:00
Dimitris Papavasiliou
310a04f701
Add support for user exported C libraries
...
This uses the existing mechanism for statically compiled C libraries,
to allow the user to export their own C libraries in a similar way.
User exported libraries can be added on top of statically compiled C
libraries or exist on their own (by setting SEXP_USE_STATIC_LIBS_EMPTY).
2022-10-30 14:06:18 +02:00
Alex Shinn
d67fa42d0c
Merge pull request #793 from dpk/string-ref-cache
...
Add a feature to cache the most recent string index->cursor result
2022-10-19 17:59:08 +09:00
Alex Shinn
49f95dc107
Fix bug in procedure-flags in (chibi ast) (issue #864 )
...
We were incorrectly boxing an already boxed value.
2022-10-05 09:06:51 +09:00
Alex Shinn
0eeeac7650
Make environment immutable and add mutable-environment alternative (issue #863 ).
2022-10-04 16:07:36 +09:00
Alex Shinn
95827a44ed
Add immutable-string with copy-on-write semantics (issue #860 ).
2022-09-16 18:18:20 +09:00
Alex Shinn
701cf1d169
no more flexible arrays (issue #842 )
2022-07-04 22:30:49 +09:00
Mark Schifflin
2f524c59f7
Fix lsint_to_sint
2022-06-08 20:43:44 -07:00
Alex Shinn
09200ae13c
fix locale-dependent decimal separators (issue #829 )
2022-05-12 18:10:38 +09:00
Alex Shinn
9d2875b05e
Merge branch 'master' into identifier-macros
2022-03-15 19:47:40 +09:00
Daphne Preston-Kendal
7a4e793e49
Move make-variable-transformer to (chibi ast)
2022-03-15 09:25:21 +01:00
Alex Shinn
b32e6e15d0
Merge pull request #806 from dpapavas/make-opcode-procedure
...
Expose construction of foreign procedures.
2022-03-13 17:12:55 +09:00
Alex Shinn
18e8575358
Merge pull request #813 from dpapavas/export-get-stack
...
Export sexp_get_stack_trace
2022-03-13 17:10:05 +09:00
Alex Shinn
940f315b67
adding missing commit (issue #815 )
2022-02-22 20:25:31 +09:00
Dimitris Papavasiliou
9c5745b7f3
Export sexp_get_stack_trace
2022-02-16 21:59:52 +02:00
Alex Shinn
a127a332ac
use 0 (configurable) for the C++ size of flexible arrays ( fixes #808 )
2022-01-09 21:29:00 +09:00
Alex Shinn
4d45583637
removing unused sexp_cpointer_body
2022-01-09 21:19:57 +09:00
Dimitris Papavasiliou
87637c0a0b
Expose construction of foreign procedures.
2022-01-02 20:45:39 +02:00
Daphne Preston-Kendal
d17764be29
Add variable transformers
2021-12-30 10:34:54 +01:00
Daphne Preston-Kendal
c09897c449
Add a feature to cache the most recent string index->cursor result
...
This is lighter-weight than building a full index->cursor table for
the string, adding a constant two words to the memory required to
store a string, as opposed to one word for every n characters. The
cached cursor is used for any string-ref operation requesting an index
after the most-recently-requested index, making potentially quadratic
repeated string-ref procedures run in linear time. In theory, it could
also use a heuristic to speed up moving backwards through the string
when it thinks that moving the old cursor backwards would be faster
than starting again at the start of the string. In practice, my
logging of when the cached cursor is actually reused during the Chibi
compilation and startup process shows that the most common case of
moving backwards is going back to the start of the string anyway.
Benchmarks to follow.
2021-12-10 21:24:05 +01:00
Lukas Böger
b0c0afcb73
prefer configure_file over manual file(WRITE ...)
2021-07-13 14:03:24 +01:00
Alex Shinn
8247e13baf
remove superfluous + when printing complex numbers with negative ratio imaginary parts
2021-05-26 10:05:40 +09:00
Alex Shinn
4d22949f71
disable fileno unification by default
2021-04-27 18:30:43 +09:00
Alex Shinn
3cf62f033a
store stack traces directly in top-level exceptions to more consistently be able to report them from C
2021-04-26 21:40:39 +09:00
Alex Shinn
42aab7905c
enable SEXP_USE_STRICT_TOPLEVEL_BINDINGS by default (issue #699 )
2021-04-19 10:46:26 +09:00
Alex Shinn
af43c3214f
add sexp_user_exception_ls variadic convenience
2021-04-16 10:06:03 +09:00
McKay Marston
683554c2ab
make 9front "work" again by properly handling 64-bit typedefs
2021-02-20 17:10:43 -07:00
Alex Shinn
56a31f9cb0
don't declare image loading operations if not enabled (issue #714 )
2020-11-25 23:16:12 +09:00
Alex Shinn
4e1ff91cbb
patch for plan9 build from raingloom
2020-10-11 21:31:42 +09:00
Alex Shinn
60c4007e6f
adding thread-interrupt! so that (chibi repl) can preserve continuations (issue #686 )
2020-08-25 14:09:29 +09:00
Alex Shinn
4335d238fb
image options are harmless in non-image build; images not supported on 32-bit arch
2020-07-31 15:32:59 +09:00
Alex Shinn
306cc73bd6
Revert "image options are harmless in non-image build; images not supported on 32-bit arch"
...
This reverts commit 9b859eda36
.
2020-07-31 15:32:18 +09:00
Alex Shinn
9b859eda36
image options are harmless in non-image build; images not supported on 32-bit arch
2020-07-31 15:31:43 +09:00
Alex Shinn
60ee6d70d0
move remaining fields to start of types
2020-07-30 00:19:21 +09:00
Alex Shinn
36f188d274
adding notes about benchmarks for string-ref approaches
2020-07-29 12:28:40 +09:00
Alex Shinn
113560aeb7
avoid // comments
2020-07-28 15:13:38 +09:00
Alex Shinn
23e62275df
fixing scheme bytevector for 32bit arch
2020-07-28 15:09:40 +09:00
Alex Shinn
edcddd7299
fixing 64-bit uvectors
2020-07-27 16:08:24 +09:00
Alex Shinn
983829cab1
better inexact computation for ratios which overflow double (issue #671 )
2020-07-15 16:38:56 +09:00
Alex Shinn
e300659662
don't export sexp_primitive_opcodes (issue #669 )
2020-07-14 10:08:21 +09:00
Alex Shinn
2bdaebe8c7
wrap uncaught non-exceptions (issue #664 )
2020-07-06 16:20:40 +09:00
Alex Shinn
2b82ef68d4
fix placement of dl in context (issue #657 )
2020-06-09 01:13:28 +09:00
Alex Shinn
4ec2167f62
making the abi a little more stable by default
2020-06-08 00:54:36 +09:00
okuoku
1b46d91053
Win32: Guess SEXP_USE_GREEN_THREADS
...
Guess SEXP_USE_GREEN_THREADS=0 ifdef `_WIN32`.
2020-06-05 05:59:33 +09:00
Alex Shinn
6caca77426
adding (scheme bytevector)
2020-05-31 23:24:51 +09:00