Commit Graph

131 Commits

Author SHA1 Message Date
Benjamin Vedder 85e4aae57b Squashed 'lispBM/lispBM/' changes from 4233bafe..1b286c45
1b286c45 variable_not_bound error prints the variable that is not bound
edc731ae Atomic behaves as progn does now
73ddfc5a removed the type-based pattern binders, ?i, ?i32 ...

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1b286c454af350df93fda02f86e356861e06a399
2022-10-26 17:34:07 +02:00
Benjamin Vedder 0db54cab8b Squashed 'lispBM/lispBM/' changes from c2bd0cd0..4233bafe
4233bafe added aliases true and false, for t and nil
3e183b84 Match now uses the same structural equality to determine a match as eq does

git-subtree-dir: lispBM/lispBM
git-subtree-split: 4233bafe57b82fedab760c7cc7d1837ffb264fd0
2022-10-25 11:01:49 +02:00
Benjamin Vedder 1e2b53cbbc Squashed 'lispBM/lispBM/' changes from dde9b593..c2bd0cd0
c2bd0cd0 added some more range tests and updated the refman
d96fd1a3 reversing range if end point is smaller than starting point
15bd7eb4 update ref man and added a test of range
e83d6ca8 Added fundamental operation that creates a list numbers in a range. range
f0641f43 added a built in operation that computes the length of a proper list
952fb423 added indexing into lists from the rear. Use a negaive index to index from the rear of a list using ix
f6618b69 bugfix related to environment handling in match

git-subtree-dir: lispBM/lispBM
git-subtree-split: c2bd0cd0745acdc078e541a717ccc82642036018
2022-10-24 09:58:05 +02:00
Benjamin Vedder e65998ddaa Squashed 'lispBM/lispBM/' changes from fe7a709d..dde9b593
dde9b593 small cleaning
6bf9d942 bugfix related to new handling of freelist when not empty at GC. and some slight refactoring

git-subtree-dir: lispBM/lispBM
git-subtree-split: dde9b593787a2621bda4e0bc3ddb27bb63e73f6c
2022-10-18 01:16:36 +02:00
Benjamin Vedder b924552400 Squashed 'lispBM/lispBM/' changes from e76a3deb..fe7a709d
fe7a709d added some benchresults and twear benchmark code to remove the reference to the stepping functionality
965c2543 uninlined stack popping procedures
7ea5f3bd Change GC treatment of freelist when GC is invoked and freelist is non-empty
7bc24eef update changelog
d7d158e0 added 5 tests related to quasiquotation
b26bf5f8 update
5309b8e7 Update README
918b4aee update README

git-subtree-dir: lispBM/lispBM
git-subtree-split: fe7a709d1942fbc88461e9313d91220ba97ab3e8
2022-10-17 14:42:17 +02:00
Benjamin Vedder 898e4df503 Squashed 'lispBM/lispBM/' changes from ca26715a..e76a3deb
e76a3deb removed GC from finish_ctx. Can be taken care of from the C interface
91924e68 clean up heap after an error. Most important after an out_of_memory a bit dependent on how one interacts with the RTS
ba1c57ad new test on setvar together with let - passes.
df38cde4 small cleaning around bug fix area

git-subtree-dir: lispBM/lispBM
git-subtree-split: e76a3debc2abfd8528becb4295eb6f22492b3826
2022-10-11 19:12:37 +02:00
Benjamin Vedder c30054a533 Squashed 'lispBM/lispBM/' changes from b741c823..ca26715a
ca26715a fixed environemt handling bug related to function applications

git-subtree-dir: lispBM/lispBM
git-subtree-split: ca26715a429d1b7b5f0351ace1c8fedc09d7f4af
2022-10-10 19:35:30 +02:00
Benjamin Vedder 681ac73df7 Squashed 'lispBM/lispBM/' changes from b3d8a6b2..b741c823
b741c823 update README
589639e9 removed old unused track of thought
7b64298a updated readme
b1a0b8f2 update lbmref
258d3547 update lbmref
080196da changed behaviour of mailbox when receiving on full. oldest mail is replaced

git-subtree-dir: lispBM/lispBM
git-subtree-split: b741c823bafd4d316feff99f0ebadaedb16f550a
2022-10-10 17:07:58 +02:00
Benjamin Vedder dccfe15135 Squashed 'lispBM/lispBM/' changes from 7756d581..b3d8a6b2
b3d8a6b2 removed functions that nolonger have a purpose
306722dc remove the possibility to step through program and reorganize the most critical loop structure
aa6eb5ca  remove encode, decode from refman
899d8579 update README and plot script
132e9364 updated readme with more detailed intro

git-subtree-dir: lispBM/lispBM
git-subtree-split: b3d8a6b21af4683af8837ad1a5106cf0d2d7eac9
2022-10-06 13:58:38 +02:00
Benjamin Vedder e8748c33d6 Squashed 'lispBM/lispBM/' changes from 1be203ec..7756d581
7756d581 update benchresults
bf99ae97 removed seldom used fundamental operations, is_fundamental, encode, decode

git-subtree-dir: lispBM/lispBM
git-subtree-split: 7756d5819e4dd18a4907f9ae68a5e8e752b962f1
2022-10-04 11:17:07 +02:00
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