Commit Graph

121 Commits

Author SHA1 Message Date
Benjamin Vedder 63e050c452 Squashed 'lispBM/lispBM/' changes from 82dd1b77..1be203ec
1be203ec added is_symbol_true
fbdbbc54 added is_byte_array and renamed lbm_is_list to lbm_is_cons, then created a new lbm_is_list which is also true for nil

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1be203ecb48333c872f9056142d74a6f3c99b9c6
2022-10-03 11:48:35 +02:00
Benjamin Vedder 219f29dd7a Squashed 'lispBM/lispBM/' changes from be53df12..82dd1b77
82dd1b77 removing old broken macro-expansion routine
b888dc8e various tweaks and de-inlinings of functions

git-subtree-dir: lispBM/lispBM
git-subtree-split: 82dd1b77135220091118162c9032009948e6a4d8
2022-10-02 23:17:59 +02:00
Benjamin Vedder 76400e7ca0 Squashed 'lispBM/lispBM/' changes from 42aa0d95..be53df12
be53df12 refactoring for evaluation speed

git-subtree-dir: lispBM/lispBM
git-subtree-split: be53df12441590b855a7f706f2319447f15cba80
2022-10-02 17:51:48 +02:00
Benjamin Vedder 67837017be Squashed 'lispBM/lispBM/' changes from ebfa4c83..42aa0d95
42aa0d95 added some historical benchmark results
d1f5782e closed warning apply_error
d7520f41 added simple tests2

git-subtree-dir: lispBM/lispBM
git-subtree-split: 42aa0d952638a4dc23a9457a712f27e6da8a3b60
2022-10-02 09:28:56 +02:00
Benjamin Vedder 4105a02e10 Squashed 'lispBM/lispBM/' changes from 337ecc93..ebfa4c83
ebfa4c83 bugfix related to allowing parsing of underscore symbols, read_error specifically
926121ae bugfix related to allocation of arrays
603a58ea added spawn-trap and exit-ok and exit-error functions. All tests pass

git-subtree-dir: lispBM/lispBM
git-subtree-split: ebfa4c8393c071ce1babdf873d3adef17968b217
2022-10-02 08:36:11 +02:00
Benjamin Vedder 7059ee97ac Squashed 'lispBM/lispBM/' changes from 8293dc85..337ecc93
337ecc93 fix bugs related to wait

git-subtree-dir: lispBM/lispBM
git-subtree-split: 337ecc930ca82869096543128d93843a961b4dfa
2022-10-01 10:58:20 +02:00
Benjamin Vedder 55ff24d348 Squashed 'lispBM/lispBM/' changes from aa297a80..8293dc85
8293dc85 making infer static analysis 100% happy
dc577f26 added undefine
1ee941fb upped version and added recent changes
b0eb427a removed namespaces from the refman
62f65367 added 2 mail tests

git-subtree-dir: lispBM/lispBM
git-subtree-split: 8293dc85deb67a62fa337f2f53b0f5586fce3521
2022-09-27 12:12:54 +02:00
Benjamin Vedder 0a2b6d9baf Squashed 'lispBM/lispBM/' changes from ee23f4ab..aa297a80
aa297a80 fix bug in eval_receive

git-subtree-dir: lispBM/lispBM
git-subtree-split: aa297a806a52451dc493618155f89dec3c51c793
2022-09-25 12:05:18 +02:00
Benjamin Vedder 39a306bed0 Squashed 'lispBM/lispBM/' changes from efc1dbb7..ee23f4ab
ee23f4ab mailboxes are now arrays and of a finite size

git-subtree-dir: lispBM/lispBM
git-subtree-split: ee23f4abaf11468d0714e9ff69f881255575a711
2022-09-25 11:32:52 +02:00
Benjamin Vedder 04f6b67217 Squashed 'lispBM/lispBM/' changes from 2d48bed5..efc1dbb7
efc1dbb7 remove bufget-i24
28b30eed update to tokpar. Hopefully doesnt break things, all tests ok

git-subtree-dir: lispBM/lispBM
git-subtree-split: efc1dbb7a6f597ba519ae670d84e5dc0d0c462cd
2022-09-24 23:25:37 +02:00
Benjamin Vedder 6a2f1a7875 Squashed 'lispBM/lispBM/' changes from 0801bea4..2d48bed5
2d48bed5 found bug related to malformed tokens, should be better now but maybe not perfect
fafa3cd0 added 24bit variants of array extensions

git-subtree-dir: lispBM/lispBM
git-subtree-split: 2d48bed5b6a1bfa31427406cffaa6b7cca2b558b
2022-09-24 19:18:54 +02:00
Benjamin Vedder 3b381b9c7d Squashed 'lispBM/lispBM/' changes from d23c7fe2..0801bea4
0801bea4 tests of read function on string and array syntax and bug fix in tokpar related to strings
2a4757f6 Read errors report line and column again
ded9c7c7 added some float tests

git-subtree-dir: lispBM/lispBM
git-subtree-split: 0801bea42b72f1a881abc3a9bfd6cc53f68a05bb
2022-09-24 09:08:36 +02:00
Benjamin Vedder fb303346de Squashed 'lispBM/lispBM/' changes from 445930ec..d23c7fe2
d23c7fe2 hex values interpreted as i-type by default
1f1d8108 tokpar detect negative float correctly
945bed71 Hex literals default to u32 type but allow for type modifying post-fix declarations
b45734a3 change to find_receiver_and_send that does not dequeue-enqueue tasks already to scheduled to run and thus moving them to the end of the queue
1c2fd35d a cleaning and streamlining pass over parts of the code
aa327e42 updated the example evaluator
b21cd0b7 zephyr example repl compiles
00268635 update readme

git-subtree-dir: lispBM/lispBM
git-subtree-split: d23c7fe2cc5feeb80f183a20dd7d69677b7d6f6a
2022-09-23 14:04:35 +02:00
Benjamin Vedder e9123e197b Squashed 'lispBM/lispBM/' changes from aba5cf5a..445930ec
445930ec lbm_wait_ctx waits for sleeepin contexts
70291809 Contexts that are sleeping considered as message passing receivers
b99dd1df allowing 1.0e-2
d23fb19f removed unused data in eval_cps
96c45d4e added support for 1.0e3 notation

git-subtree-dir: lispBM/lispBM
git-subtree-split: 445930ec9307ad7d2863913145efd60f97a0315d
2022-09-21 14:46:29 +02:00
Benjamin Vedder 08c0898a0e Squashed 'lispBM/lispBM/' changes from c2e0433a..aba5cf5a
aba5cf5a added a sleeping contexts iterator
5955c062 update doc readme
bb095b49 update doc readme
54e0af08 tweak documentation readme2
ecefdcec update readme slightly
a3a97657 small tweak chapter 3
c6383fc4 update concurrency in lbmref
630f1586 removed misleading comment from test_read_2.lisp
db30bd55 added self function and another concurrency test
3f6298b0 added a self function that returns the ID of the the thread that calls it and a concurrency test
95aa4b41 added comment and did whitespace pass over tokpar.c
8822052e a tiny bit more cleanup of tokpar.c
ff7e80c5 some cleaning up in tokpar.c
6bc47c40 ESP32 example now compiles again.
eb9b7e82 update sdl example repl to work with new channels
bccbad5f added documentation to lbm_channel

git-subtree-dir: lispBM/lispBM
git-subtree-split: aba5cf5ae0579c38c44b556db125bb7343d32732
2022-09-20 11:32:37 +02:00
Benjamin Vedder ad4ee40868 Squashed 'lispBM/lispBM/' changes from 58e0abe5..c2e0433a
c2e0433a update
d19c1e63 some cleaning of tokpar and addition of 4 comment-tests

git-subtree-dir: lispBM/lispBM
git-subtree-split: c2e0433a936cab7ac4e67ead55948e9a1ae003bc
2022-09-18 10:09:06 +02:00
Benjamin Vedder 1ee344e925 Squashed 'lispBM/lispBM/' changes from b2d5a55f..58e0abe5
58e0abe5 reduced the number of calls to strlen in the string_reader.

git-subtree-dir: lispBM/lispBM
git-subtree-split: 58e0abe5a1067d9e51403c23381407996d5c1d82
2022-09-18 07:58:57 +02:00
Benjamin Vedder 33ee2f9bd4 Squashed 'lispBM/lispBM/' changes from a0708145..b2d5a55f
b2d5a55f added comments-test
2765eff3 tweak
d801f8ed added text using array of hex values

git-subtree-dir: lispBM/lispBM
git-subtree-split: b2d5a55f9f2fe250e9ca47958d4ac09f702dc931
2022-09-16 21:25:21 +02:00
Benjamin Vedder 9c1f9440d4 Squashed 'lispBM/lispBM/' changes from 4cc6358a..a0708145
a0708145 found problem with the number 120 in certain situations, fixed
61d1ab94 closing shadow warnings

git-subtree-dir: lispBM/lispBM
git-subtree-split: a070814599187a11b0492b7d865cf3b60ae014c2
2022-09-16 13:40:37 +02:00
Benjamin Vedder 1b76c9c67e Squashed 'lispBM/lispBM/' changes from c0fb4af8..4cc6358a
4cc6358a removed uses of \#newline in test_mp.lisp
77ca267f added a channel_reader_is_closed function
e0345592 reader closes the channel when finished even on non-error
977d1439 Small tweaks to tokpar and closing some warnings related to compiling with chibios (shadow)

git-subtree-dir: lispBM/lispBM
git-subtree-split: 4cc6358ad3c377023826da6af1c0bcbab344e3fa
2022-09-16 10:45:44 +02:00
Benjamin Vedder 9bd826e646 Squashed 'lispBM/lispBM/' changes from 60d7c83f..c0fb4af8
c0fb4af8 Streaming reading or source into the heap
540f1e9a added n-times test for low-freq concurrency bug testing
5dcf25bf update chibios examples to use new reader
7775f92d starting to look good, needs more polish...
86ecd85b On the path
b0ce4e67 tweaks to next_token
c7ed1e3d Update and discovery of nondeterministicly appearing bug
a0a1b000 Ok start
090f54e9 experiment with channel abstraction
d4c1ba41 added some tests of array syntax

git-subtree-dir: lispBM/lispBM
git-subtree-split: c0fb4af806ad8d42365a1b8695d2603f640df662
2022-09-16 09:25:46 +02:00
Benjamin Vedder 048b9469d3 Squashed 'lispBM/lispBM/' changes from ab11994e..60d7c83f
60d7c83f fix literal array size related typo

git-subtree-dir: lispBM/lispBM
git-subtree-split: 60d7c83f3b30c6a045d4cda639b523788ff0f322
2022-09-05 22:02:08 +02:00
Benjamin Vedder b9e666b3f3 Squashed 'lispBM/lispBM/' changes from 4cf1df6f..ab11994e
ab11994e added a number of array syntax tests
16bcb9a7 Added a check that should result in error if an array is too long to fit in memory
1a21875b small fix related to initial array size for literal byte arrays

git-subtree-dir: lispBM/lispBM
git-subtree-split: ab11994e551512c7e809a11b40f2922652bd94f0
2022-09-05 21:43:25 +02:00
Benjamin Vedder 4a62f04205 Squashed 'lispBM/lispBM/' changes from b6a136a2..4cf1df6f
4cf1df6f refactoring of the array-reader in preparation for future reader modifications to allow streaming of programs
6075bc8d adding some potentially dangerous omitted checks

git-subtree-dir: lispBM/lispBM
git-subtree-split: 4cf1df6f164d3a81188eb065e625455f12cbd869
2022-09-05 20:06:04 +02:00
Benjamin Vedder c0a44bd5ca Squashed 'lispBM/lispBM/' changes from 28c56c43..b6a136a2
b6a136a2 Update eval_cps.c
36d34a4c Merge branch 'master' of github.com:svenssonjoel/lispbm
e6ad61e3 Various small fixes

git-subtree-dir: lispBM/lispBM
git-subtree-split: b6a136a2b17874fec7d67a0b0342d8c050a8016e
2022-09-04 21:40:18 +02:00
Benjamin Vedder b82ab77c6c Squashed 'lispBM/lispBM/' changes from 6f442405..28c56c43
28c56c43 Update README.md
d975e8b6 update readme
9e0bbcba update readme
ad38f2d0 updated readme with a note about switch of scheduler
756f2d71 Round-robin scheduling quota can be set from the C code
45edcd9d update: fix typo
dade6935 Added atomic operator
4ff6665a Mostly ok round robin scheduling at this point I think.
a6af047a experimentation and planning
e69d36e7 fair round robin scheduler running but slow
3a0e6905 Merge branch 'master' into sched0
2784f8e5 bugfix symrepr.c
c464a78e work in progress
207a0b92 Merge branch 'master' into sched0
a916a1af experimentation and preparations
b9565fbb broke out a bunch of useful definitions into an lbm_defines.h file
1fb91025 update to platform_uart for chibios
16640653 additions to chibios platform uart and some additions to string extensions
6bfbb376 added array-clear
8e2bc4a3 Improvements to revamped reader
84ff5198 Considerable rewamping of the reader - passes all tests but there are some issues to resolve
bfdf352f minor tweak
f33fde26 Modifications to uart stream in platform chibios
571a1382 low-level character stream from a uart. This has some problems!
2f49efe9 Experimentation streams
4437c69e tweaks to platform uart
dd181414 fix typo in platform_uart.c for chibios
5b9ae388 chibios repl uart tested and seems ok
49409772 untested uart extensions in chibios repl
af5d03d8 untested uart implementation for chibios repl
5bde526b added one more test case for conditionals
dceb4d26 added some new tests
0f477d09 pedantry
dc5b08d9 Some pedantic tweaks to close some jump-misses-init warnings
c5aff865 A pass to make static analysis happy
0bdd23c3 update
12a93acc update ch3 with some small tweaks
ac881933 added more text to chapter3 about concurrency and message passing
d8589b75 update
59229152 update
85ef5a79 update lbmref description of namespace
4fd7e48f added information about namespace to lbmref
b93cd379 added some tests of namespaces and updated the compressor to allow the : character
48a99c13 Merge branch 'master' of github.com:svenssonjoel/lispbm
8f019213 updated behaviour of lbm_define related to #variables and the addition of simplistic namespaces
1d824a4e Update ch3_concurrency.md
dcb2ef38 wip
a0d5971d work in progress
4c9818c6 typo
06fbaac7 work in progress ch3
26a466e0 chapter 3 in progress
f376ae8e ch3 concurrency in progress
d1399247 added some images to manual ch2
ac813050 fix bug that surfaces if no dynamic load callback is present

git-subtree-dir: lispBM/lispBM
git-subtree-split: 28c56c436d3cb621a775bb648d60660563c5352e
2022-09-04 16:08:58 +02:00
Benjamin Vedder 9319f18842 Squashed 'lispBM/lispBM/' changes from a9a91f17..6f442405
6f442405 updates for uniformity and readability
4e579fe1 added forgotten benchresults
25edc913 added pattern matching support for i64, u64 and double
7f86264b typo
66aa879c removed non working refs that pointed to the implementation documents at some point
10fbf778 more explanation around list
36c4915a more explanation around list
6799048b adding explanation of cons cells usage in pairs and lists
79fdabf8 experimentation
81856406 update lbmref experimentation
3ec7f39d update ref manual with information about the first and rest functions
a917effa use the built in USB com instead of UART in the esp32c3 repl example

git-subtree-dir: lispBM/lispBM
git-subtree-split: 6f442405429c4ea770ab7f0dd6dd72cba9595a3d
2022-07-20 11:05:09 +02:00
Benjamin Vedder ec1588ea66 Squashed 'lispBM/lispBM/' changes from 011dfb08..a9a91f17
a9a91f17 update changelog with recent changes
02bb92ca more readability edits with perhaps small performance implications
7d8718df refactor for readability with perhaps minute performance impllications
902961b4 update lbmref related setvar

git-subtree-dir: lispBM/lispBM
git-subtree-split: a9a91f17c323002374bcdad4d88c9a4afcfb6066
2022-07-18 09:28:03 +02:00
Benjamin Vedder 8ba08b7f28 Squashed 'lispBM/lispBM/' changes from fd6598f2..011dfb08
011dfb08 update doc for cossa and assoc

git-subtree-dir: lispBM/lispBM
git-subtree-split: 011dfb08365f36de906188badddefd923f731cc9
2022-07-13 21:03:12 +02:00
Benjamin Vedder 0edb9adc7b Squashed 'lispBM/lispBM/' changes from 27abc6a9..fd6598f2
fd6598f2 added ducumentation in lbmref for cossa

git-subtree-dir: lispBM/lispBM
git-subtree-split: fd6598f2066ff7be5d00216f64c076269d3674af
2022-07-13 14:40:52 +02:00
Benjamin Vedder e07148ffb0 Squashed 'lispBM/lispBM/' changes from cdfd116c..27abc6a9
27abc6a9 added backwards lookup function for assoc structures
e82dc20f update benchmarking

git-subtree-dir: lispBM/lispBM
git-subtree-split: 27abc6a960d2e8deb98b1c6ed5b383d587d5ca7b
2022-07-13 13:30:58 +02:00
Benjamin Vedder 85ee6ead03 Squashed 'lispBM/lispBM/' changes from 3836952f..cdfd116c
cdfd116c added some tests for partial applications
46d02e9c Added the possibilty to partially apply a closure
788dfa27 debug inspection of local environments in the REPL
b28ceec1 shutting down some warnings originating in repl.c
d35ef54d small tweak example code
5fa6f453 added some sanity checking of the type of the key used in let bindings
81314729 Updates chibios xmas-dac example so that it builds again
0d1f05ca updates chibios example repl so that it builds again
4ae17fc8 small tweak to texture loading demo.
a309e37a added silly texture image for the sdl_texture.lisp example
1dc0e4e6 added texture loading extension and a blit function for drawing sprites on the window
6c249a37 proper scaling on the sleep and timestamp callbacks
e65b0b83 ESP32c3 repl up and running
24f93026 work in progress esp32 repl
958a273d work in progress esp32 repl
d4fb301b work in progress repl example for ESP platforms (esp32c3 specifically)
7e924bf6 freertos includes correctly, compiles. stiill untested
29b9e3a4 added freeRTOS platform files. Untested currently
f3931c13 update README and small tweaks
357bb438 closing one warning
205ca17e small tweak to SDL tree-demo
27c1f601 added a way to explicitly run a custom type destructor and clean up its deference trampoline
d955f26e added missing files
a94dfb5c Update README.md
0e29e692 added SDL example that draws a tree
a5417886 Bugfix in lbm_sdl.c for destructors of window and renderer
b3a0e586 Getting started with interfacing LBM and SDL2
7aa2c1d0 started towards custom types with associated destructors for when they are freed by GC
a8b33a8d safer behaviour of car and cdr in relation to pointer-types that are not really cons-cells
9fbf02ce fixed some inconsistencies
3051e8e7 update change log
8d002536 handling one warning in 64 bit compile
7794a9b2 added array tests
a83f385c Merge branch 'master' of github.com:svenssonjoel/lispbm
21c79aaf fix problem with array parsing in the case of float arrays
dc926e59 added script to generate ctags
38046a49 updates to changelog with changes up and including may 22 2022
45b5d6c0 fix potential corner case issue with call-cc on 64 bit platforms
ebb100a5 some streamlining of the bind_to_key rest continuation in eval_cps.c
1c9a7df2 Added explicit stack version of defunctionalized evaluator example
2812b7b0 added some more testcases in evaluator.lisp and evaldefunc.lisp
0393bd21 New features in evaluator.lisp and evaldefunc.lisp
c6dd4e10 found an evalutor bug related to progn thanks to writing evaluator.lisp and evaldefunc.lisp
5d1bfc75 added continuation passing style evaluator of a mini-lisp as well as a defunctionalized CPS style evaluator for the same mini-lisp
a5a6c2a2 removed commented out old code
c135b4a3 fix problem related to assoc
8ddd44cc removed some code duplication in eval_cps
c625af8e lbmref update
a1a7a4b6 lbmref update
12d9f4e9 lbmref update

git-subtree-dir: lispBM/lispBM
git-subtree-split: cdfd116c655e20bac787a2080b8c601c6bc846ca
2022-07-06 10:18:45 +02:00
Benjamin Vedder 444c98ea52 Squashed 'lispBM/lispBM/' changes from 94df9e23..3836952f
3836952f tweak doc
37f8c948 clear extension and cleanup in doc
e7e1fd84 filled out the changelog
7d5cd0bc added two more tests of bufget
3d876227 change type return value for get_u8 and get_u16 in array_extensions

git-subtree-dir: lispBM/lispBM
git-subtree-split: 3836952f28d94c44affc6b45fadec8e3815be365
2022-05-12 16:06:35 +02:00
Benjamin Vedder 3dd1bd9c62 Squashed 'lispBM/lispBM/' changes from a136db86..94df9e23
94df9e23 a bit hacky but should be in the right direction
234f9782 unused arguments

git-subtree-dir: lispBM/lispBM
git-subtree-split: 94df9e23ceeeec9d6e28b0c84f4d96a7440244cf
2022-05-10 19:32:01 +02:00
Benjamin Vedder 92b2a8830b Squashed 'lispBM/lispBM/' changes from 748a3a97..a136db86
a136db86 Bug fix towards adding capability to dynamically load an extension

git-subtree-dir: lispBM/lispBM
git-subtree-split: a136db86d29f0808811af2d8b50ba36ca1d2a399
2022-05-10 19:05:51 +02:00
Benjamin Vedder cfb5e8b522 Squashed 'lispBM/lispBM/' changes from 4d6badc8..748a3a97
748a3a97 added a way to make up symbols on the fly in the extensions array. Symbol names starting with ext are allocated to the extensions table
5c934bd7 added a profiling script that uses callgrind
d5c14c2a cleaning out old unused code from heap.c

git-subtree-dir: lispBM/lispBM
git-subtree-split: 748a3a974f80c47c59a1252abc4db4cfb1fb875e
2022-05-10 16:19:07 +02:00
Benjamin Vedder 08da2db380 Squashed 'lispBM/lispBM/' changes from 5c7c28f5..4d6badc8
4d6badc8 Merge branch 'master' of github.com:svenssonjoel/lispbm
44b05640 adding an extension with the same name as an earlier added extension should now replace the previous extension with the new one
2e878154 added lbm_memory macros for 10, 12 and 14 K of lbm_memory
37c3bff6 store size of symbol table and provide function for getting table size and total size of strings stored in table
5658f36c fix comment

git-subtree-dir: lispBM/lispBM
git-subtree-split: 4d6badc89760869504d4dbf0e9e1c51934b10ce2
2022-05-09 16:24:00 +02:00
Benjamin Vedder 3991b47281 Squashed 'lispBM/lispBM/' changes from 26c1b54c..5c7c28f5
5c7c28f5 added explanatory reasons for read errors

git-subtree-dir: lispBM/lispBM
git-subtree-split: 5c7c28f55fdb2fbda9df90755f5be481b5d8d2a7
2022-05-05 19:51:17 +02:00
Benjamin Vedder 8470944cc5 Squashed 'lispBM/lispBM/' changes from be981ff1..26c1b54c
26c1b54c read errors now have line and column numbers associated with them.

git-subtree-dir: lispBM/lispBM
git-subtree-split: 26c1b54c6c4affd86dfc92cf8550c757ad42891b
2022-05-04 22:16:07 +02:00
Benjamin Vedder 4dbe8c6837 Squashed 'lispBM/lispBM/' changes from 90b18761..be981ff1
be981ff1 added setix to refman and a way to block a context from a c extension together with a way to later unblock such a blocked context from C
8d4ec0e3 small tweak to the main evaluation case (function application).
289c69a6 a small tweak for closure argument evaluation efficiency
664347f4 added the lbm_stack_reserve function for allocation of multiple words on the stack in one go

git-subtree-dir: lispBM/lispBM
git-subtree-split: be981ff1f8e40b40dfa1dcbc43075e9e8ec9fa9c
2022-05-03 22:58:33 +02:00
Benjamin Vedder 2f5f73f2af Squashed 'lispBM/lispBM/' changes from c155cb49..90b18761
90b18761 potential small improvement in argument evaluation performance
0b41ce56 added some tests of alists

git-subtree-dir: lispBM/lispBM
git-subtree-split: 90b187612f957b2bac8e8de3a3576835b20cee4b
2022-05-01 19:16:24 +02:00
Benjamin Vedder 64241f5b10 Squashed 'lispBM/lispBM/' changes from 729c0e51..c155cb49
c155cb49 remove printf
18fe416c fix assoc
74339abd added explicitly free for streams

git-subtree-dir: lispBM/lispBM
git-subtree-split: c155cb49b20e7a559031155f5a6b4e7b0707d790
2022-04-29 15:51:09 +02:00
Benjamin Vedder 9fcad87052 Squashed 'lispBM/lispBM/' changes from 8dbe7463..729c0e51
729c0e51 doing something today

git-subtree-dir: lispBM/lispBM
git-subtree-split: 729c0e51b231932e84951cedb4f60b39c62bfe24
2022-04-28 13:56:49 +02:00
Benjamin Vedder ca4bd9b87a Squashed 'lispBM/lispBM/' changes from 5e49fad5..8dbe7463
8dbe7463 adding some short descriptions of alists to the refman
8403421f Fix a bug related to heap-lbm_memory consistency and array syntax.
55fb723f added some type-of tests and small fix in tokpar

git-subtree-dir: lispBM/lispBM
git-subtree-split: 8dbe7463e3d3b27393286b921ae245f01407a81f
2022-04-27 20:21:49 +02:00
Benjamin Vedder 06d88e9175 Squashed 'lispBM/lispBM/' changes from 24b8df22..5e49fad5
5e49fad5 removed duplicated code for parsing float/double values in tokpar
c2ad1207 dropping lots of code duplication from tokpar
103d74c9 chapter 2 first draft
b7268076 fix order of arguments on acons
682aede3 update chapter 2
4d2f9546 added a bit of text to ch2

git-subtree-dir: lispBM/lispBM
git-subtree-split: 5e49fad5f379718dca03944f3dad5e8ca2776f66
2022-04-26 21:15:39 +02:00
Benjamin Vedder b28b9c8eae Squashed 'lispBM/lispBM/' changes from 1f19918d..24b8df22
24b8df22 adding text to manual ch2 and tweaking iota to enumarete up to (- n 1)
7558ee8d update manual ch2
ac09a621 work on chapter 2
a0ccae7f differentiating betwen applying to too many or too few arguments in a closure application
b002e1a6 update ch2 tiny
10efcb11 update ch2 to match current REPL formatting
f485a5f1 make REPL less verbose and update chapter 1
c7194629 work on ch2 and some additions to repl
6146a6c0 the reader will now signal via a callback when reading of source is completed

git-subtree-dir: lispBM/lispBM
git-subtree-split: 24b8df22427e05561c1dae8a60297b98a0027a74
2022-04-24 12:34:49 +02:00
Benjamin Vedder 8e71e55227 Squashed 'lispBM/lispBM/' changes from cf470a85..1f19918d
1f19918d update ch2
55e1f370 closed some warnings. Made changes to match algorithm to allow lookup of variables in patterns
fdd6226a tweak ch1
54ea2a5e spell-checking pass chapter2
c4015d81 first draft of some association-list built-ins

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1f19918d06d1b80286ef0be24635dac2ed54cd92
2022-04-19 18:01:39 +02:00
Benjamin Vedder 5ea5b08e2c Squashed 'lispBM/lispBM/' changes from 4c19fddd..cf470a85
cf470a85 setix and rename of set! to setvar
12b2f2a3 update to chapter 2
a140ddd2 Fix potential null pointer dereference
2dc877c3 work in progress on chapter 2
415d46c7 fix environment handling bugs in pattern-matching
a6a1423b update ch2
f0a78631 update chapter 2
aca7cb5e small additions to chapter 2 in the manual
4fb9b26f starting to think about manual chapter 2
9a4c892e added rule to install the REPL as the executable file lbm into .local/bin in the home dir
3383919b update lbmref
c5ade0ab update lbm_version to better reflect reality
bde07853 reduced the set of expected failed tests
fed58b00 added some more array-syntax tests
965013e3 update refman

git-subtree-dir: lispBM/lispBM
git-subtree-split: cf470a85702aaab6e7cd73712516f22215b8bd61
2022-04-18 18:06:37 +02:00
Benjamin Vedder 829ebc6713 Squashed 'lispBM/lispBM/' changes from b548be4e..4c19fddd
4c19fddd fix bug in progn

git-subtree-dir: lispBM/lispBM
git-subtree-split: 4c19fdddff55996bad8291b6cf4e241169c27da4
2022-04-14 22:15:46 +02:00
Benjamin Vedder a22604a5f5 Squashed 'lispBM/lispBM/' changes from 077af235..b548be4e
b548be4e close 2 warnings about convertions
0335ae9b Merge branch 'master' of github.com:svenssonjoel/lispBM
c4d46dbb added type convertion functions and small tweak to refman

git-subtree-dir: lispBM/lispBM
git-subtree-split: b548be4e48f5aac4c91962d653b85ad99e4ea168
2022-04-14 19:37:23 +02:00