Fix setjmp
Version 2.20 still was not stable, the new interface to lisp had to be fixed in several places.
Hi Georg,
You have been on a debug fest ! I have merged a couple of your PRs but the rest now show merge clashes which I think you could resolve fairly easily.
Could you take a look and then I will go through the rest and merge.
Hugh
On Fri, Oct 18, 2024 at 9:55 PM Georg Lehner @.***> wrote:
Version 2.20 still was not stable, the new interface to lisp had to be fixed in several places.
You can view, comment on, or merge this pull request online at:
https://github.com/hughbarney/femto/pull/31 Commit Summary
- f54a303 https://github.com/hughbarney/femto/pull/31/commits/f54a30352e240183341b575ce74c60e1f7932491 Check in the generated flisp.md document
- 615f1de https://github.com/hughbarney/femto/pull/31/commits/615f1de5c8aabc94afb717811931fba25281045b Cleanup flisp documentation both in content and formatting
- 5b1148c https://github.com/hughbarney/femto/pull/31/commits/5b1148cd17197c0154218d7a108cf5db718ae49d Add lua filter for pandoc and refactor flisp.html for better Markdown documentation
- c855053 https://github.com/hughbarney/femto/pull/31/commits/c8550538a6a229bf9500a2d1b699f19ba638994b Provide run target for debugging
- 296228e https://github.com/hughbarney/femto/pull/31/commits/296228e459f6abae17363aa8c82b90090e230e16 Fix include: git.lsp uses string.trim which is part of the femto.lsp library
- 178930e https://github.com/hughbarney/femto/pull/31/commits/178930e37733c17e631f4fdee6210f5933000e99 Fix segmentation faults in exception handling
- 1f5cf3c https://github.com/hughbarney/femto/pull/31/commits/1f5cf3c6fd4f6fb83746da8a313373aa297b5c82 Merge remote-tracking branch 'origin/flisp-doc'
- 67a3ebe https://github.com/hughbarney/femto/pull/31/commits/67a3ebe9de4edc8cc371037d6c504d785893d698 Split fLisp specifics out of header.h into lisp.h
- cf0ae17 https://github.com/hughbarney/femto/pull/31/commits/cf0ae17bd6324b20ae8326d6615b99385fb1365a Rework public interface of lisp interpreter
- 5bf89f0 https://github.com/hughbarney/femto/pull/31/commits/5bf89f0a52e0e97d1fa98870d73b97f7a6a07b39 Whitespace cleanup
- 2dbfc43 https://github.com/hughbarney/femto/pull/31/commits/2dbfc43ee1df3eb0d8c7028ed4588480881e57a0 Renaming of Lisp object 'Type' to 'ObjectType' to avoid potential clashes
- ceefb14 https://github.com/hughbarney/femto/pull/31/commits/ceefb14326052e93839d1da251cdf923c4de7bec Add exception handling to garbage collector
- d6a2371 https://github.com/hughbarney/femto/pull/31/commits/d6a23713d83e7ab643bb829a3de6fd14300178e5 Annotate and whitespace cleanup
- 8c2fbd0 https://github.com/hughbarney/femto/pull/31/commits/8c2fbd050d8166fc6c78bd37fac3c0867d990317 Refactor lisp library, split out core.lsp in case it's needed separately
- 1dd2453 https://github.com/hughbarney/femto/pull/31/commits/1dd24532459b7f6c9f2a49f9aaaed908d42600b5 Re-enable git and oxo by default, remove trap invocation.
- fa1c659 https://github.com/hughbarney/femto/pull/31/commits/fa1c6590d0689f48c30ce241ab464c7b449c1393 Extend and correct documentation
- 674cd2d https://github.com/hughbarney/femto/pull/31/commits/674cd2db1c8a4ce5faf14ff6d72c0fe6b78e94ef Bump version
- 26f1bce https://github.com/hughbarney/femto/pull/31/commits/26f1bce343956e7fcea5551d3dc1edb38646280c Add suspend function and bind it to C-Z
- 6011c00 https://github.com/hughbarney/femto/pull/31/commits/6011c002ef506b949bbc85e172de6d02bedf452e Add transpose-chars and bind it to C-T
- 6aa9718 https://github.com/hughbarney/femto/pull/31/commits/6aa9718f159e89e48f0a3f021d6b62f3f8ac95ab Clarify cond and point indocumentation
- dab2833 https://github.com/hughbarney/femto/pull/31/commits/dab2833377e68e533c2293fb9ff4b7ed52c52287 Fix detecting gc misbehaviour
- e9340c8 https://github.com/hughbarney/femto/pull/31/commits/e9340c8b94ebc9c32749826381d99f6c0e5b7684 Add stream object type to Lisp interpreter
- a434672 https://github.com/hughbarney/femto/pull/31/commits/a4346723637c5e406f397748d83cb0f49ca7c5d8 Start file extension
- 19f1213 https://github.com/hughbarney/femto/pull/31/commits/19f121337ac13247c42a1a511594f327dac0c8b7 WIP: switch output to Lisp Streams, add flisp command
- 022a24b https://github.com/hughbarney/femto/pull/31/commits/022a24bdb60bc5ddb8c0cb146479670ccd5db475 WIP: output streams, exceptions, debugging, flisp
- 3c31e5f https://github.com/hughbarney/femto/pull/31/commits/3c31e5fdfdece46237deb24ba1ac3eba82c93751 Fix: b_reframe element of buffer would not be initialized
- 553fada https://github.com/hughbarney/femto/pull/31/commits/553fadafe517c2297f377cdf07e315c313e98acc Change lisp_eval interface and add file_fflush
- 1d916f1 https://github.com/hughbarney/femto/pull/31/commits/1d916f10ca9e83b3f169c191a289fcb78d151952 Make eval wrapper for femto
- 9019082 https://github.com/hughbarney/femto/pull/31/commits/9019082789827bd515e0f33f76aec2367cc6b879 Change file_* signatures, consistent error strings, more parameter check macros
- 3015d72 https://github.com/hughbarney/femto/pull/31/commits/3015d72480c0506d56145e551f753aee91edfdc8 Add flisp target to makefile, including clean
- e34057c https://github.com/hughbarney/femto/pull/31/commits/e34057c060365bf4d82ef2b659438a0d6b5cb1c5 Add more valgrind tags in source code
- 77df664 https://github.com/hughbarney/femto/pull/31/commits/77df664cc61296be4e226567d255ab57884ac774 Add ftell to file extension
- c542ae5 https://github.com/hughbarney/femto/pull/31/commits/c542ae5ad57ab7cb529f3f575c49887463c9ee21 Read input via Lisp stream objects
- f4e0d6a https://github.com/hughbarney/femto/pull/31/commits/f4e0d6af92ac7b08f066bfa053694d64616a4ff7 Documentation updates, corrections and extensions
- 7dc05bc https://github.com/hughbarney/femto/pull/31/commits/7dc05bc4da1fd8d24c600b2d1e6cef5c8c7a526a Startup file for flisp
- 72002e0 https://github.com/hughbarney/femto/pull/31/commits/72002e0db90362844fdab2e366dd416a197201ec Improved flisp, bumped version
- f8850d5 https://github.com/hughbarney/femto/pull/31/commits/f8850d56f6660369b23119b4f5180001fcecdf97 Replace Stream input with Lisp stream objects
- 5379a20 https://github.com/hughbarney/femto/pull/31/commits/5379a20689092200bfcdbb5a63557391ef53edaf Add measure target to get current size measurs
- 274f2a7 https://github.com/hughbarney/femto/pull/31/commits/274f2a784f661e6cfd6b2dba923355e04960dbd5 Announce new version
- c520eac https://github.com/hughbarney/femto/pull/31/commits/c520eac349fb0d26ba4d3d62ffdef65b46dd7a91 Posix disallows leading hyphens, but allows leading underscores
- f3af228 https://github.com/hughbarney/femto/pull/31/commits/f3af2283fb5143c21357bb65874855ebd5ac0b60 Add rmkx mode esc sequence for home and end key
- e95949e https://github.com/hughbarney/femto/pull/31/commits/e95949e20c21df7f51d7c240b5f549a5c2643579 Fix segfaults related to wrong usage of new stream handling
File Changes
(27 files https://github.com/hughbarney/femto/pull/31/files)
- M BUGS https://github.com/hughbarney/femto/pull/31/files#diff-6e41ac8dae8eb54261688a8803df802b19c561812ff824bc1ee1e581424e6a2a (23)
- M CHANGE.LOG.md https://github.com/hughbarney/femto/pull/31/files#diff-69a3f4b8b8932cc63a0fd91a1c68d47921beb1fe3a6f5b6c09cd80614bd78d59 (40)
- A README.flisp.md https://github.com/hughbarney/femto/pull/31/files#diff-0f798dbf1c78260b3013e3bb69806d08be920c8d9fb4e1b3b153377eca65b81f (102)
- M README.md https://github.com/hughbarney/femto/pull/31/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 (171)
- M buffer.c https://github.com/hughbarney/femto/pull/31/files#diff-e175931508f4c0b7987c0e37db54091cac4bf9be78c4e5bffa7e95610b7e6c90 (1)
- M command.c https://github.com/hughbarney/femto/pull/31/files#diff-86c2a7aedddc628e0435417f57ca69f5debc6135d73299736f814fefe4b21fbe (68)
- A docs/flisp.md https://github.com/hughbarney/femto/pull/31/files#diff-642602d6ddfdb8ab2af991d47c8d482559bd5395cc28acbb7df5e2a303bb360a (861)
- M femto.rc https://github.com/hughbarney/femto/pull/31/files#diff-7c1582ce1921b9eaf852a4ffc899f36f853ee63a1ea975704d16e9420fdcd97d (4)
- A file.c https://github.com/hughbarney/femto/pull/31/files#diff-ab7c0d0209354eb93bf7490f9880d1dc9cadf3c14fd07c0c3af5a9ccb6f6a303 (56)
- A flisp.c https://github.com/hughbarney/femto/pull/31/files#diff-23eb2d87d0d1a32bdb840bb9f7d99ba53ba8f22f4be5fe3e8f754e84e92a4a10 (149)
- A flisp.rc https://github.com/hughbarney/femto/pull/31/files#diff-7e6a8a62b8abfdc8eb2c0a57bc551282f0490e7477012fa8a02ef06408f4415f (78)
- M funcmap.c https://github.com/hughbarney/femto/pull/31/files#diff-c7ccda6d7ff41785a5b754f6cbdb65f43467c85150d1c9a8ef5cddc743256a77 (15)
- M gap.c https://github.com/hughbarney/femto/pull/31/files#diff-d62bd4904a411bff651aa993fce74e778a579662e8ae091e1bddbaf4973c7fd5 (2)
- M header.h https://github.com/hughbarney/femto/pull/31/files#diff-0f1fa56f022ea3edeb7fac5b9da40d5bc78ae55d3a5de8128e1c118986445ec6 (16)
- M hilite.c https://github.com/hughbarney/femto/pull/31/files#diff-19c96164021fe3068d0f5a5e9d565786968a91a419a4aa5c0762e6796b6f2e2a (2)
- M key.c https://github.com/hughbarney/femto/pull/31/files#diff-8206afad31c627f58806ece0c3d7ebc31fa90148f8e481f4ed19d594de7a260e (16)
- M lisp.c https://github.com/hughbarney/femto/pull/31/files#diff-547d76fb9cbda8821e8d022f7464158d23cde78da0faa05027f162c98dd45836 (2098)
- A lisp.h https://github.com/hughbarney/femto/pull/31/files#diff-e8fe82fa354f9a1e7ab144667cd2593a2d5c156b682cdbfa6030113cac634146 (148)
- A lisp/core.lsp https://github.com/hughbarney/femto/pull/31/files#diff-da11f4e4326cc0b3244fad6dde00f893820e686db55228a0262585d499548059 (63)
- M lisp/femto.lsp https://github.com/hughbarney/femto/pull/31/files#diff-82d9f6006b55830c92d3c64d01f11a8f2f261a90269d2eb04a0244a12a26de84 (21)
- M lisp/flisp.lsp https://github.com/hughbarney/femto/pull/31/files#diff-f6069b30511d810dbb513c81a28d95a9e752a57cf3e57cc164aa1e1d2697bf4e (4)
- M lisp/git.lsp https://github.com/hughbarney/femto/pull/31/files#diff-d3fa536f5c8dbc4fbaef6e4c40e6a652bad0867a6c7f6c525a76d1c11e7292cd (2)
- M lisp/startup.lsp https://github.com/hughbarney/femto/pull/31/files#diff-cb34dad7dcac3d348d582efa0cd3c76c8fbca97438bf0b875a372d4dcaa38a83 (16)
- M main.c https://github.com/hughbarney/femto/pull/31/files#diff-a0cb465674c1b01a07d361f25a0ef2b0214b7dfe9412b7777f89add956da10ec (99)
- M makefile https://github.com/hughbarney/femto/pull/31/files#diff-beda42571c095172ab63437d050612a571d0d9ddd3ad4f2aecbce907a9b7e3d0 (56)
- M pdoc/flisp.html https://github.com/hughbarney/femto/pull/31/files#diff-dd4ea47c04fcdfcebf009cfca2ed0a18f184c6b45e53c5016a9916c28c230551 (1309)
- A pdoc/h2m.lua https://github.com/hughbarney/femto/pull/31/files#diff-c519b6f56540372831c7422d451f2efefcad5919733fc24cd7add3af9edc90a6 (36)
Patch Links:
- https://github.com/hughbarney/femto/pull/31.patch
- https://github.com/hughbarney/femto/pull/31.diff
— Reply to this email directly, view it on GitHub https://github.com/hughbarney/femto/pull/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3WLENGGMJRRJAPHDK627LZ4FYV3AVCNFSM6AAAAABQGWCR2WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4TQMZXGU4TOMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello Hugh,
I have rebased this branched and also the following PR #32, so merging should be possible.
Please merge PR #32 instead of this one: it contains the wrap up and documentation if this development stream.