Commit Graph

161 Commits

Author SHA1 Message Date
Benjamin Vedder 501c754606 Squashed 'lispBM/lispBM/' changes from c6d5de99..da9fb6cd
da9fb6cd added missing files

git-subtree-dir: lispBM/lispBM
git-subtree-split: da9fb6cd2dd6f98ddbac52e359d2b036efdb3206
2022-02-15 19:31:41 +01:00
Benjamin Vedder 7c57a0111f Squashed 'lispBM/lispBM/' changes from 1c2be895..c6d5de99
c6d5de99 GC is variable aware, pretty untested but does not break existing tests
1a872278 variables that GC is NOT aware of
b4a83ec4 fix tests and symrepr_init
6b5bee7d clear out extension table upon init

git-subtree-dir: lispBM/lispBM
git-subtree-split: c6d5de99af47caabc6ecd3fcbb49bd5584c08a1f
2022-02-15 19:09:10 +01:00
Benjamin Vedder cb919480b6 Squashed 'lispBM/lispBM/' changes from 0c09634e..1c2be895
1c2be895 extensions lookup is in an array and extensions occupy a specific range of symbol values

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1c2be8958f937edf8a5fed394f88f55ca9eab382
2022-02-15 09:29:40 +01:00
Benjamin Vedder 4a8e60e198 Squashed 'lispBM/lispBM/' changes from 7ed6fa3f..0c09634e
0c09634e added LEQ and GEQ comparisons
01fd1ec4 update change log

git-subtree-dir: lispBM/lispBM
git-subtree-split: 0c09634ea2ed217ecea0682feb314e0e45db1b64
2022-02-14 19:07:01 +01:00
Benjamin Vedder 629bd3702c Squashed 'lispBM/lispBM/' changes from 0535cf11..7ed6fa3f
7ed6fa3f bugfix  related to environment handling and progn

git-subtree-dir: lispBM/lispBM
git-subtree-split: 7ed6fa3f0ae89d11273abfb93e6a962ddf561d94
2022-02-13 21:11:18 +01:00
Benjamin Vedder 84a79f8109 Squashed 'lispBM/lispBM/' changes from 1108de58..0535cf11
0535cf11 version 0.1.0
f7c1b0d1 fix bug in last commit and remove dead code
305d3dce change behaviour of spawn to take a closure + arguments. No multi-spawn in one call anymore
93697f7a cleaning and restructuring in the evaluator
1e0d70f8 tuning evaluation of functions some
419e34fd small tweaks doxy
84bec750 Removed the nil-entry from the environment. It should make no difference
09868fea update doxy
f02a9087 fixes to doxy
d2087165 more doxy and fix fundamental array operation
488a4c35 update doxy
799328fc update language ref man
050c34b9 more doxy work and some small tweaks to reader when it comes to quotes
3948e566 added bitwise operations
e777189b zephyr example compiles, testing needed
426b71e4 doxy planning
8264fd37 shift left and right
5a61bf41 tweak readme
c82f587e accepting that eval-program is a very predatory operation
728b6511 doc tweaks
41aedc57 update to doxy
7a53228e added function for sharing of arrays from C to lbm. little bit of doc.  TODO: test arrays
c4931b4a small update to doc
3e7f31fb small additions to doc
8325bf09 user now has to provide a recursion stack fro the print_value function
f1fdd5f7 The GC recursion stack has to be provided by the user now

git-subtree-dir: lispBM/lispBM
git-subtree-split: 0535cf11214a6ba8c81f86929deaad34c30b3790
2022-02-13 14:25:39 +01:00
Benjamin Vedder 6aa01e2cfc Squashed 'lispBM/lispBM/' changes from 18d9001b..1108de58
1108de58 added possibility to take n steps in the evaluator
9fb1863e added match-binders for u32 and i32
b591bd3e fix to match that allows matching on boxed types

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1108de58965232fcfb2cb173db6e8696319f1bb5
2022-02-03 12:49:33 +01:00
Benjamin Vedder 3307ff377b Squashed 'lispBM/lispBM/' changes from 046eb52e..18d9001b
18d9001b fixes the to the eval_state statemachine

git-subtree-dir: lispBM/lispBM
git-subtree-split: 18d9001b32052a3de09517ae4e954c221155ef27
2022-02-01 21:51:54 +01:00
Benjamin Vedder d48a2e0f78 Squashed 'lispBM/lispBM/' changes from 9559204f..046eb52e
046eb52e Change the eval_state state machine to not go into pause mode (visible outside) until after gc if instructed to run GC

git-subtree-dir: lispBM/lispBM
git-subtree-split: 046eb52e068c6f8ec15c8f8e7bd7b0c348edde1c
2022-02-01 21:35:41 +01:00
Benjamin Vedder 0af11fc982 Squashed 'lispBM/lispBM/' changes from 748477b9..9559204f
9559204f added lbm_define to allow definitions to be added from C
d5390ade added a pause function that performs GC if less than N elements are free
9f7f015b mostly just rearrangements
2e96957d bugfix related to read after changes to array representation. New test added that shows a problem with read-program, this is a bit of a puzzle to solve. Something to ponder on for a while
aa6bfff9 can read multiple values from array to a list.
8b8daa6d Nothing of magnitude
313806c9 more preparations for lbm arrays pointing to C memory
9b361ba8 preparing for arrays that are shared between C and lbm. Dont know yet what to do about the possibility of concurrent modifications to these arrays
39257a5a doxy fix renamed files
955a5a2c update to doxy, still lots to do. Rename one file.
ae0d140f adding some built in functions for encoding and decoding to and from lists of value representing bytes

git-subtree-dir: lispBM/lispBM
git-subtree-split: 9559204fcfd0b403fdec524910c10d8bd57d0437
2022-02-01 20:40:07 +01:00
Benjamin Vedder fafa5c9779 Squashed 'lispBM/lispBM/' content from commit 748477b9
git-subtree-dir: lispBM/lispBM
git-subtree-split: 748477b953fbd06094fc17c1c6332bf5f9cea7d0
2022-01-29 17:26:45 +01:00