bldc/repl/Makefile

57 lines
1.3 KiB
Makefile
Raw Normal View History

LISPBM := ../
include $(LISPBM)/lispbm.mk
PLATFORM_INCLUDE = -I$(LISPBM)/platform/linux/include
PLATFORM_SRC = $(LISPBM)/platform/linux/src/platform_mutex.c
Squashed 'lispBM/lispBM/' changes from 7ba933de..610c2d2a 610c2d2a added a silent mode to the REPL, --silent 79c69181 Fix bug in how errors happening inside of fundamentals are returned de5c356b fix bug in addition that incorrectly promotes byte values to U type 64219f1b remove some printing in REPL b24e4c39 fix bug in unflatten value related to 64bit int baa5bfba fix bug in flatten_value related to the size of expressions that contain Byte sized data 5fc5a7df Merge branch 'master' of github.com:svenssonjoel/lispbm 52665236 minor changes to new repl 22070c29 update README 59b5144a update README 9e8c2a2a update README 582f2235 minor changes to new REPL 24d4b6e0 added storing of flattened result to the repl 412e6483 added a terminate option to the REPL 15af284f enabled loading and storing of environment files from the new REPL b5319ebe fix bug in 64bit version, added a NULL check after readline in the REPL 05b3eb61 fix missing include repl 300213b9 preparing for loading and storing of global environment fc3d20b0 sequence loading and evaluation of multiple source files when using multiple instances of -s flag on repl 1370102c loading source files 4a2f1c3d preparing for accepting source files from command line to the repl 9b45e4da small changes to new repl ba47441e promoted the experimental_repl to repl status, it is still work in progress but at a much nicer state fe16c290 cleanup some unused code in repl.c e6705251 adding general purpose functions from vesc_express to the REPL a0955b93 fix to state change logic cfbb6114 started a revamping of experiment_repl now depends on readline, more to do 41c142a3 small fixes to vesc_express hil test scripts ee763c72 work on automated vesc express fw build with vesc_express from main and lbm from master 3a2884b5 some maintenance and clearning, removal of unused function ade15e9d removing some unused code e16a8598 added loging of failed tests to a unique log file for each instance of run_tests.sh ce9bdcdd fix potential out of bounds writes found by Marcos. Also removed a few dead-writes 5e1bad69 Small tweaks to eval. Changes to test script, store failing tests to test.log and print way less during testing. 93d14889 remove a blank line 04e1dc62 small refactorings dbadb211 Trying to make the vesc_express hil script slightly more robust 99b6540d added a TTY available check before attempting to launch the tests fb7fbee7 Added a slightly longer running vesc_express hil test as an experiment. The run_tests scripts for hil tests needs to be made more robust 0dc4b25c vesc_express hil tests now use the new vesc_tool feature of stdout redirection, no uart needed 78781da2 Added framework for Vesc Express HIL tests git-subtree-dir: lispBM/lispBM git-subtree-split: 610c2d2a3b0b4724a31929150789cda70b5aacfc
2024-02-21 02:42:12 -08:00
CCFLAGS = -g -O2 -Wall -Wconversion -Wsign-compare -pedantic -std=c11
PICCFLAGS = -O2 -Wall -Wconversion -pedantic -std=c11
LISPBM_SRC += $(LISPBM_EVAL_CPS_SRC)
Squashed 'lispBM/lispBM/' changes from 7ba933de..610c2d2a 610c2d2a added a silent mode to the REPL, --silent 79c69181 Fix bug in how errors happening inside of fundamentals are returned de5c356b fix bug in addition that incorrectly promotes byte values to U type 64219f1b remove some printing in REPL b24e4c39 fix bug in unflatten value related to 64bit int baa5bfba fix bug in flatten_value related to the size of expressions that contain Byte sized data 5fc5a7df Merge branch 'master' of github.com:svenssonjoel/lispbm 52665236 minor changes to new repl 22070c29 update README 59b5144a update README 9e8c2a2a update README 582f2235 minor changes to new REPL 24d4b6e0 added storing of flattened result to the repl 412e6483 added a terminate option to the REPL 15af284f enabled loading and storing of environment files from the new REPL b5319ebe fix bug in 64bit version, added a NULL check after readline in the REPL 05b3eb61 fix missing include repl 300213b9 preparing for loading and storing of global environment fc3d20b0 sequence loading and evaluation of multiple source files when using multiple instances of -s flag on repl 1370102c loading source files 4a2f1c3d preparing for accepting source files from command line to the repl 9b45e4da small changes to new repl ba47441e promoted the experimental_repl to repl status, it is still work in progress but at a much nicer state fe16c290 cleanup some unused code in repl.c e6705251 adding general purpose functions from vesc_express to the REPL a0955b93 fix to state change logic cfbb6114 started a revamping of experiment_repl now depends on readline, more to do 41c142a3 small fixes to vesc_express hil test scripts ee763c72 work on automated vesc express fw build with vesc_express from main and lbm from master 3a2884b5 some maintenance and clearning, removal of unused function ade15e9d removing some unused code e16a8598 added loging of failed tests to a unique log file for each instance of run_tests.sh ce9bdcdd fix potential out of bounds writes found by Marcos. Also removed a few dead-writes 5e1bad69 Small tweaks to eval. Changes to test script, store failing tests to test.log and print way less during testing. 93d14889 remove a blank line 04e1dc62 small refactorings dbadb211 Trying to make the vesc_express hil script slightly more robust 99b6540d added a TTY available check before attempting to launch the tests fb7fbee7 Added a slightly longer running vesc_express hil test as an experiment. The run_tests scripts for hil tests needs to be made more robust 0dc4b25c vesc_express hil tests now use the new vesc_tool feature of stdout redirection, no uart needed 78781da2 Added framework for Vesc Express HIL tests git-subtree-dir: lispBM/lispBM git-subtree-split: 610c2d2a3b0b4724a31929150789cda70b5aacfc
2024-02-21 02:42:12 -08:00
REPL_SRC= repl.c \
repl_exts.c
ifdef HEAP_VIS
CCFLAGS += -DVISUALIZE_HEAP
endif
improved_closures: CCFLAGS += -m32 -DCLEAN_UP_CLOSURES
improved_closures: repl clean_cl.h
Squashed 'lispBM/lispBM/' changes from 7ba933de..610c2d2a 610c2d2a added a silent mode to the REPL, --silent 79c69181 Fix bug in how errors happening inside of fundamentals are returned de5c356b fix bug in addition that incorrectly promotes byte values to U type 64219f1b remove some printing in REPL b24e4c39 fix bug in unflatten value related to 64bit int baa5bfba fix bug in flatten_value related to the size of expressions that contain Byte sized data 5fc5a7df Merge branch 'master' of github.com:svenssonjoel/lispbm 52665236 minor changes to new repl 22070c29 update README 59b5144a update README 9e8c2a2a update README 582f2235 minor changes to new REPL 24d4b6e0 added storing of flattened result to the repl 412e6483 added a terminate option to the REPL 15af284f enabled loading and storing of environment files from the new REPL b5319ebe fix bug in 64bit version, added a NULL check after readline in the REPL 05b3eb61 fix missing include repl 300213b9 preparing for loading and storing of global environment fc3d20b0 sequence loading and evaluation of multiple source files when using multiple instances of -s flag on repl 1370102c loading source files 4a2f1c3d preparing for accepting source files from command line to the repl 9b45e4da small changes to new repl ba47441e promoted the experimental_repl to repl status, it is still work in progress but at a much nicer state fe16c290 cleanup some unused code in repl.c e6705251 adding general purpose functions from vesc_express to the REPL a0955b93 fix to state change logic cfbb6114 started a revamping of experiment_repl now depends on readline, more to do 41c142a3 small fixes to vesc_express hil test scripts ee763c72 work on automated vesc express fw build with vesc_express from main and lbm from master 3a2884b5 some maintenance and clearning, removal of unused function ade15e9d removing some unused code e16a8598 added loging of failed tests to a unique log file for each instance of run_tests.sh ce9bdcdd fix potential out of bounds writes found by Marcos. Also removed a few dead-writes 5e1bad69 Small tweaks to eval. Changes to test script, store failing tests to test.log and print way less during testing. 93d14889 remove a blank line 04e1dc62 small refactorings dbadb211 Trying to make the vesc_express hil script slightly more robust 99b6540d added a TTY available check before attempting to launch the tests fb7fbee7 Added a slightly longer running vesc_express hil test as an experiment. The run_tests scripts for hil tests needs to be made more robust 0dc4b25c vesc_express hil tests now use the new vesc_tool feature of stdout redirection, no uart needed 78781da2 Added framework for Vesc Express HIL tests git-subtree-dir: lispBM/lispBM git-subtree-split: 610c2d2a3b0b4724a31929150789cda70b5aacfc
2024-02-21 02:42:12 -08:00
all: CCFLAGS += -m32
Squashed 'lispBM/lispBM/' changes from ccca9778..db80cb7d db80cb7d updates to how symbols are evaluated, mostly for readability but also efficiency bb573b53 slight optimizations to mark_phase and mark_freelist 58242f41 tweaking the manual 51666fb5 update manual fix prelude situation 2c6349da work on manual 39a15fd8 update a5310055 added a bit more text about symbols in the manual 60d59eec added a bit more text about symbols in the manual f685819e added a bit more text about symbols in the manual 31d56d35 added a bit more text about symbols in the manual 54796c35 added a bit more text about symbols in the manual e333c00f Small readability and efficiency tweaks to eval_cps 0d234b5e lbm_cadr added and sligth modifications to eval_cps.c using lbm_cadr 85cd864a update changelog 6d2c8685 work on manual 5203a64f work on manual 63ebbae2 work on manual 4a146954 work on manual 19a0d06f work on manual 91c1d992 work on manual ab393f46 work on manual 26309199 work on manual c474931b work on manual 1a822e8d work on manual 648f6433 work on manual 6737828a work on manual 2d8e7084 work on manual 3a834fce work on manual 7ae1b342 work on manual bc5b1fd0 work on manual d3b6ec4d work on manual 654d70f8 writing on the manual 0d66dda6 tweak readme d846ea3b update README 2c18d1a6 small tweak bd9f80e5 allowing more characters in symbols 61827fc2 remove the prelude library in its current form. It is still available in the REPL f1dcea8f small tweak benchmarking code 3a761cee update manual e9898b19 make the prelude functions load dynamically when needed by the repl and test-system 714be360 update manual e1804e3e update lbmref, renamings 508d167c Update README.md 6f3207fa Update ch1_introduction.md 6562daef Update ch1_introduction.md 76b48adf work in progress proramming doc 91c44751 fix repl-cps makefile to correctly build deps 54e66b25 remove lbmref.dox f0c90ffd update reference manual 5b577572 fix potential bug in cont_application_start git-subtree-dir: lispBM/lispBM git-subtree-split: db80cb7dd05eef9e71980a55ff7987118c32c6e9
2022-04-12 01:44:49 -07:00
all: repl
Squashed 'lispBM/lispBM/' changes from 6199703d..43ebce71 43ebce71 Fix formatting int print.c and constants that default to float/double fa220f0b update gc statistics collection a small bit 25b20686 fix get_heap_state 783d774e Arrays of 64bit values passes the associated tests. More tests are needed though ff40d02f working on 64bit arrays. more testing needed 204bea39 CMP as a macro instead of 8 different functions 44bb152d added a set of math extensions grabbed from Benjamin's bldc repo 9c34b4cd added string extensions from benjamins bldc repo b4370155 merge in changes on master into dev64bit c129344b fixed masking bug in fundamentals ed3ab5be closed down ome warnings when building 64bit d46564c9 expanded functionality of type-of to cover 64bit types and preparations for arrays of 64bit values f7cb5538 added more 64bit functionality to fundamentals and a tiny amount of tests 4dafbe6c added decoders for 64bit values 63026a8a added 64bit value literals 8c1f0f0f made GC aware of lbm_memory allocated values 17148ada 64 bit values allocated on lbm_memory on 32 bit version 4445e5a8 sketch of encoders for 64 bit values f636e64d suffix for the lisp size of int and uint are now i and u instead of i28 and u28 840723ca preparations and planning for 64bit types in both 32 and 64 bit versions. 13675dda 64bit up and running. but there are many TODOs 033bfd9a small fixes following bug hunt f5c984de fix bug in representation of important masks and constants d40b2437 Merge branch 'master' into dev64bit 06f9603f Merge branch 'master' into dev64bit 69950ba1 32 bit tests are ok 46b6fa28 Merge branch 'master' into dev64bit b9e2c993 work in progress 8dff9b4d work in progress a241aded work in progress 4738e0da update year in lbm_types ca469923 made it possible to run the same tests as on the 32 bit version on the 64 bit code 85acec30 small tweaks tp create_ctx, use correct type bf0286a7 Merge branch 'master' into dev64bit 824e1634 Merge branch 'master' into dev64bit 04a97f17 lots of testing needed ea862cce a bunch of changes in preparation for 64bit compatibility. git-subtree-dir: lispBM/lispBM git-subtree-split: 43ebce71a281f4a158b8d2dec3fc537c26766ec3
2022-03-25 07:47:05 -07:00
all64: CCFLAGS += -DLBM64
Squashed 'lispBM/lispBM/' changes from f18a5c10..85675e29 85675e29 refactor of COND to be able to remove the single-use cddr function. 9d0bb92c added a reminder note in heap.c e0f7403a small refactor in env and addition of high-level array eq comparison 463e9c32 Change to how reader flags are saved and restored. 8271b1ed fix bug: some constant values were not flattenable. 7bf86cf9 small refactor and added caching of clean-cl-env symbol in case of CLEAN_UP_CLOSURES. ea3ec7da Marking an array is now an O(N) operation with an additional storage of one 32bit value per array. 872355a4 added a self-reminder in heap.c about how to make array marking linear in size of array. a0c7afb9 be more explicit in what the INCREMENTA_READ context flag is set to upon launching a read d71c218a added an example of how to implement map over an array 449075bb added note about garbage collection of arrays (so that I remember) 89bff1c9 updated array mark algorithm and added a note about why it is a bit of a tricky problem to mark arrays fa1e1e41 adding a note about why GC for high-level arrays is a bit of a tricky problem 384c45d0 array-to-list and list-to-array, length now also returns the size of an array 1f226ec7 fixing two issues in print indicated by sa 9abbeddc clean up in print.c 059295c8 high level arrays can now be stored in flash. 32d162b4 high level arrays can be flattened and unflattened 2f96314c experimental high-level arrays 835e1f22 internal renaming of ARRAY to BYTEARRAY has begun 9e733c42 more cases where symbol decoding has been removed d23995cf removing a number of encodes/decodes of symbols c6171530 Version 0.24.0 0d4fb1d0 added some info about index into rest-args 9fb71256 made a few cases of floating point literals in lbmref more readable 9bd5e055 fix typo 0961f4bc update lbmref with more text about rest-args 24959852 a start of a flat-value specification in the lbmref.md 37c9fe3a updated 64 bit tests to follow same approach as run_tests.sh and run_tests_gc.sh. Also added 64bit tests to the release script 0d323069 sdlrepl has been absorbed into the standard repl and can be made by 'make sdl' 37f28977 closing some warnings when doing 64bit build. Some things should be specified better.. such as allowed range of array sizes 376f10f8 small tweak, cleaning 05326ef2 removed old notes a89aa19b remove old scripts related to building of previously removed examples 238d4752 removing a bunch of old examples that I will not have the endurance to keep updating fb741051 examples have been moved into repl. 6d52ae40 tweak typo c63863a8 rename to md ad7dacee update README ef0a75d9 update Makefile for change in directory hierarchy 012a82ea cleaning and updating examples in repl directory 35074ebc improved rendering of examples containing float literals d558c580 started a section about functional and imperative in lbmref a3c7fda1 update lbmref with latest arithmetic performance 5eb0f0d5 added new charts to show arithmetic performance. TODO update lbmref to display correct info 4d784e27 fix bug introduced into 64bit version by recent changes git-subtree-dir: lispBM/lispBM git-subtree-split: 85675e29a299664697476a5b8d64bd50b450f575
2024-05-09 12:26:09 -07:00
all64: repl
Squashed 'lispBM/lispBM/' changes from 6199703d..43ebce71 43ebce71 Fix formatting int print.c and constants that default to float/double fa220f0b update gc statistics collection a small bit 25b20686 fix get_heap_state 783d774e Arrays of 64bit values passes the associated tests. More tests are needed though ff40d02f working on 64bit arrays. more testing needed 204bea39 CMP as a macro instead of 8 different functions 44bb152d added a set of math extensions grabbed from Benjamin's bldc repo 9c34b4cd added string extensions from benjamins bldc repo b4370155 merge in changes on master into dev64bit c129344b fixed masking bug in fundamentals ed3ab5be closed down ome warnings when building 64bit d46564c9 expanded functionality of type-of to cover 64bit types and preparations for arrays of 64bit values f7cb5538 added more 64bit functionality to fundamentals and a tiny amount of tests 4dafbe6c added decoders for 64bit values 63026a8a added 64bit value literals 8c1f0f0f made GC aware of lbm_memory allocated values 17148ada 64 bit values allocated on lbm_memory on 32 bit version 4445e5a8 sketch of encoders for 64 bit values f636e64d suffix for the lisp size of int and uint are now i and u instead of i28 and u28 840723ca preparations and planning for 64bit types in both 32 and 64 bit versions. 13675dda 64bit up and running. but there are many TODOs 033bfd9a small fixes following bug hunt f5c984de fix bug in representation of important masks and constants d40b2437 Merge branch 'master' into dev64bit 06f9603f Merge branch 'master' into dev64bit 69950ba1 32 bit tests are ok 46b6fa28 Merge branch 'master' into dev64bit b9e2c993 work in progress 8dff9b4d work in progress a241aded work in progress 4738e0da update year in lbm_types ca469923 made it possible to run the same tests as on the 32 bit version on the 64 bit code 85acec30 small tweaks tp create_ctx, use correct type bf0286a7 Merge branch 'master' into dev64bit 824e1634 Merge branch 'master' into dev64bit 04a97f17 lots of testing needed ea862cce a bunch of changes in preparation for 64bit compatibility. git-subtree-dir: lispBM/lispBM git-subtree-split: 43ebce71a281f4a158b8d2dec3fc537c26766ec3
2022-03-25 07:47:05 -07:00
Squashed 'lispBM/lispBM/' changes from f18a5c10..85675e29 85675e29 refactor of COND to be able to remove the single-use cddr function. 9d0bb92c added a reminder note in heap.c e0f7403a small refactor in env and addition of high-level array eq comparison 463e9c32 Change to how reader flags are saved and restored. 8271b1ed fix bug: some constant values were not flattenable. 7bf86cf9 small refactor and added caching of clean-cl-env symbol in case of CLEAN_UP_CLOSURES. ea3ec7da Marking an array is now an O(N) operation with an additional storage of one 32bit value per array. 872355a4 added a self-reminder in heap.c about how to make array marking linear in size of array. a0c7afb9 be more explicit in what the INCREMENTA_READ context flag is set to upon launching a read d71c218a added an example of how to implement map over an array 449075bb added note about garbage collection of arrays (so that I remember) 89bff1c9 updated array mark algorithm and added a note about why it is a bit of a tricky problem to mark arrays fa1e1e41 adding a note about why GC for high-level arrays is a bit of a tricky problem 384c45d0 array-to-list and list-to-array, length now also returns the size of an array 1f226ec7 fixing two issues in print indicated by sa 9abbeddc clean up in print.c 059295c8 high level arrays can now be stored in flash. 32d162b4 high level arrays can be flattened and unflattened 2f96314c experimental high-level arrays 835e1f22 internal renaming of ARRAY to BYTEARRAY has begun 9e733c42 more cases where symbol decoding has been removed d23995cf removing a number of encodes/decodes of symbols c6171530 Version 0.24.0 0d4fb1d0 added some info about index into rest-args 9fb71256 made a few cases of floating point literals in lbmref more readable 9bd5e055 fix typo 0961f4bc update lbmref with more text about rest-args 24959852 a start of a flat-value specification in the lbmref.md 37c9fe3a updated 64 bit tests to follow same approach as run_tests.sh and run_tests_gc.sh. Also added 64bit tests to the release script 0d323069 sdlrepl has been absorbed into the standard repl and can be made by 'make sdl' 37f28977 closing some warnings when doing 64bit build. Some things should be specified better.. such as allowed range of array sizes 376f10f8 small tweak, cleaning 05326ef2 removed old notes a89aa19b remove old scripts related to building of previously removed examples 238d4752 removing a bunch of old examples that I will not have the endurance to keep updating fb741051 examples have been moved into repl. 6d52ae40 tweak typo c63863a8 rename to md ad7dacee update README ef0a75d9 update Makefile for change in directory hierarchy 012a82ea cleaning and updating examples in repl directory 35074ebc improved rendering of examples containing float literals d558c580 started a section about functional and imperative in lbmref a3c7fda1 update lbmref with latest arithmetic performance 5eb0f0d5 added new charts to show arithmetic performance. TODO update lbmref to display correct info 4d784e27 fix bug introduced into 64bit version by recent changes git-subtree-dir: lispBM/lispBM git-subtree-split: 85675e29a299664697476a5b8d64bd50b450f575
2024-05-09 12:26:09 -07:00
sdl: CCFLAGS += -DLBM64 -DWITH_SDL
sdl: LISPBM_FLAGS += -I/usr/include/SDL2 -lSDL2_image -lSDL2
sdl: LISPBM_SRC += lbm_sdl.c
sdl: repl
clean_cl.h: ./scripts/clean.lisp
./repl --store_env="clean_cl.env" --src=./scripts/clean.lisp --terminate
xxd -i clean_cl.env clean_cl.h
Squashed 'lispBM/lispBM/' changes from 6199703d..43ebce71 43ebce71 Fix formatting int print.c and constants that default to float/double fa220f0b update gc statistics collection a small bit 25b20686 fix get_heap_state 783d774e Arrays of 64bit values passes the associated tests. More tests are needed though ff40d02f working on 64bit arrays. more testing needed 204bea39 CMP as a macro instead of 8 different functions 44bb152d added a set of math extensions grabbed from Benjamin's bldc repo 9c34b4cd added string extensions from benjamins bldc repo b4370155 merge in changes on master into dev64bit c129344b fixed masking bug in fundamentals ed3ab5be closed down ome warnings when building 64bit d46564c9 expanded functionality of type-of to cover 64bit types and preparations for arrays of 64bit values f7cb5538 added more 64bit functionality to fundamentals and a tiny amount of tests 4dafbe6c added decoders for 64bit values 63026a8a added 64bit value literals 8c1f0f0f made GC aware of lbm_memory allocated values 17148ada 64 bit values allocated on lbm_memory on 32 bit version 4445e5a8 sketch of encoders for 64 bit values f636e64d suffix for the lisp size of int and uint are now i and u instead of i28 and u28 840723ca preparations and planning for 64bit types in both 32 and 64 bit versions. 13675dda 64bit up and running. but there are many TODOs 033bfd9a small fixes following bug hunt f5c984de fix bug in representation of important masks and constants d40b2437 Merge branch 'master' into dev64bit 06f9603f Merge branch 'master' into dev64bit 69950ba1 32 bit tests are ok 46b6fa28 Merge branch 'master' into dev64bit b9e2c993 work in progress 8dff9b4d work in progress a241aded work in progress 4738e0da update year in lbm_types ca469923 made it possible to run the same tests as on the 32 bit version on the 64 bit code 85acec30 small tweaks tp create_ctx, use correct type bf0286a7 Merge branch 'master' into dev64bit 824e1634 Merge branch 'master' into dev64bit 04a97f17 lots of testing needed ea862cce a bunch of changes in preparation for 64bit compatibility. git-subtree-dir: lispBM/lispBM git-subtree-split: 43ebce71a281f4a158b8d2dec3fc537c26766ec3
2022-03-25 07:47:05 -07:00
install: all
mkdir -p ~/.local/bin
cp repl ~/.local/bin/lbm
debug: CCFLAGS += -g
debug: repl
Squashed 'lispBM/lispBM/' changes from 7ba933de..610c2d2a 610c2d2a added a silent mode to the REPL, --silent 79c69181 Fix bug in how errors happening inside of fundamentals are returned de5c356b fix bug in addition that incorrectly promotes byte values to U type 64219f1b remove some printing in REPL b24e4c39 fix bug in unflatten value related to 64bit int baa5bfba fix bug in flatten_value related to the size of expressions that contain Byte sized data 5fc5a7df Merge branch 'master' of github.com:svenssonjoel/lispbm 52665236 minor changes to new repl 22070c29 update README 59b5144a update README 9e8c2a2a update README 582f2235 minor changes to new REPL 24d4b6e0 added storing of flattened result to the repl 412e6483 added a terminate option to the REPL 15af284f enabled loading and storing of environment files from the new REPL b5319ebe fix bug in 64bit version, added a NULL check after readline in the REPL 05b3eb61 fix missing include repl 300213b9 preparing for loading and storing of global environment fc3d20b0 sequence loading and evaluation of multiple source files when using multiple instances of -s flag on repl 1370102c loading source files 4a2f1c3d preparing for accepting source files from command line to the repl 9b45e4da small changes to new repl ba47441e promoted the experimental_repl to repl status, it is still work in progress but at a much nicer state fe16c290 cleanup some unused code in repl.c e6705251 adding general purpose functions from vesc_express to the REPL a0955b93 fix to state change logic cfbb6114 started a revamping of experiment_repl now depends on readline, more to do 41c142a3 small fixes to vesc_express hil test scripts ee763c72 work on automated vesc express fw build with vesc_express from main and lbm from master 3a2884b5 some maintenance and clearning, removal of unused function ade15e9d removing some unused code e16a8598 added loging of failed tests to a unique log file for each instance of run_tests.sh ce9bdcdd fix potential out of bounds writes found by Marcos. Also removed a few dead-writes 5e1bad69 Small tweaks to eval. Changes to test script, store failing tests to test.log and print way less during testing. 93d14889 remove a blank line 04e1dc62 small refactorings dbadb211 Trying to make the vesc_express hil script slightly more robust 99b6540d added a TTY available check before attempting to launch the tests fb7fbee7 Added a slightly longer running vesc_express hil test as an experiment. The run_tests scripts for hil tests needs to be made more robust 0dc4b25c vesc_express hil tests now use the new vesc_tool feature of stdout redirection, no uart needed 78781da2 Added framework for Vesc Express HIL tests git-subtree-dir: lispBM/lispBM git-subtree-split: 610c2d2a3b0b4724a31929150789cda70b5aacfc
2024-02-21 02:42:12 -08:00
repl: $(REPL_SRC) $(LISPBM_SRC) $(LISPBM_DEPS)
gcc $(CCFLAGS) $(LISPBM_SRC) $(PLATFORM_SRC) $(LISPBM_FLAGS) $(REPL_SRC) -o repl $(LISPBM_INC) $(PLATFORM_INCLUDE) -lpthread -lreadline -lhistory
Squashed 'lispBM/lispBM/' changes from 7ba933de..610c2d2a 610c2d2a added a silent mode to the REPL, --silent 79c69181 Fix bug in how errors happening inside of fundamentals are returned de5c356b fix bug in addition that incorrectly promotes byte values to U type 64219f1b remove some printing in REPL b24e4c39 fix bug in unflatten value related to 64bit int baa5bfba fix bug in flatten_value related to the size of expressions that contain Byte sized data 5fc5a7df Merge branch 'master' of github.com:svenssonjoel/lispbm 52665236 minor changes to new repl 22070c29 update README 59b5144a update README 9e8c2a2a update README 582f2235 minor changes to new REPL 24d4b6e0 added storing of flattened result to the repl 412e6483 added a terminate option to the REPL 15af284f enabled loading and storing of environment files from the new REPL b5319ebe fix bug in 64bit version, added a NULL check after readline in the REPL 05b3eb61 fix missing include repl 300213b9 preparing for loading and storing of global environment fc3d20b0 sequence loading and evaluation of multiple source files when using multiple instances of -s flag on repl 1370102c loading source files 4a2f1c3d preparing for accepting source files from command line to the repl 9b45e4da small changes to new repl ba47441e promoted the experimental_repl to repl status, it is still work in progress but at a much nicer state fe16c290 cleanup some unused code in repl.c e6705251 adding general purpose functions from vesc_express to the REPL a0955b93 fix to state change logic cfbb6114 started a revamping of experiment_repl now depends on readline, more to do 41c142a3 small fixes to vesc_express hil test scripts ee763c72 work on automated vesc express fw build with vesc_express from main and lbm from master 3a2884b5 some maintenance and clearning, removal of unused function ade15e9d removing some unused code e16a8598 added loging of failed tests to a unique log file for each instance of run_tests.sh ce9bdcdd fix potential out of bounds writes found by Marcos. Also removed a few dead-writes 5e1bad69 Small tweaks to eval. Changes to test script, store failing tests to test.log and print way less during testing. 93d14889 remove a blank line 04e1dc62 small refactorings dbadb211 Trying to make the vesc_express hil script slightly more robust 99b6540d added a TTY available check before attempting to launch the tests fb7fbee7 Added a slightly longer running vesc_express hil test as an experiment. The run_tests scripts for hil tests needs to be made more robust 0dc4b25c vesc_express hil tests now use the new vesc_tool feature of stdout redirection, no uart needed 78781da2 Added framework for Vesc Express HIL tests git-subtree-dir: lispBM/lispBM git-subtree-split: 610c2d2a3b0b4724a31929150789cda70b5aacfc
2024-02-21 02:42:12 -08:00
pirepl: $(REPL_SRC) $(LISPBM_SRC) $(LISPBM_DEPS)
gcc $(PICCFLAGS) $(LISPBM_SRC) $(PLATFORM_SRC) $(LISPBM_FLAGS) $(REPL_SRC) -o repl $(LISPBM_INC) $(PLATFORM_INCLUDE) -lpthread -lreadline -lhistory
clean:
rm repl