Replies: 8 comments 4 replies
-
The roadmap is...
- Get CLP(B) working
- better tail-call optimization (TCO)
- code-cleanup and improvements
That's about it for now, there are no planned new features.
…On Sat, Aug 10, 2024 at 4:53 AM Jorge Gomez ***@***.***> wrote:
@infradig <https://github.com/infradig> Hi, what are you working next for
trealla?
Just curious what's on the roadmap.
all the best,
jgart
https://whereis.みんな/
—
Reply to this email directly, view it on GitHub
<#578>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNKSEWJPVTJAWRDX7322RLZQUF3LAVCNFSM6AAAAABMI7BIN2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGAZTCMRRGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the info! What is involved in the code-cleanup and improvements? Is there anything I can do? I have basic C experience (Made linked-lists, basic algorithms, and data structures in C). |
Beta Was this translation helpful? Give feedback.
-
Most of the code cleanup involved redoing all the ad-hoc string handling to use the safe string-buffer macros. I guess that's mostly done. In some place instruction sequences are built up byte-by-byte in a very clumsy and verbose manner, whereas in other later places it got written using helper functions.... but even so there are still pre-computed lengths appearing as constants. When you have nested structs it gets awkward and error prone. Of course my dream would be for someone to rewrite print.c which, unsurprisingly, handles term writing. It's the oldest code in the system but has been reworked many times and consists of many hacks pertaining to precedence, operator types, parenthesis and spacing. It should be written from first principles with an eye on the ISO spec. This being stand-alone would be easiest for someone to do, but still in my mind daunting. |
Beta Was this translation helpful? Give feedback.
-
Something else i'd like to see contributions on are FFI modules. There are already SQLite, Raylib & GSL. More possibilities might be Postgres (and other DBs), SDL etc. As long as there is an installable shared library & well-defined C interface. |
Beta Was this translation helpful? Give feedback.
-
Well here's a possible task for someone. Make optional the use of libedit (Editline) , aka libedit-dev on Ubuntu, instead of libreadline (GNU Readline). Should just require changes to tpl.c, history.c & Makefile. |
Beta Was this translation helpful? Give feedback.
-
I would like to see editline available as an alternative to GNU readline. Their interfaces are not compatible but probably feature comparable. Currently isocline is available but seems problematic & is only there for Windows. |
Beta Was this translation helpful? Give feedback.
-
Another thing i'd like is to copy src/bif_sregex.c to src/bif_regex.c and modify to use POSIX regex (that is <regex.h>). And I suppose rename the predicates so both sets could be used... timing comparisons would be useful. |
Beta Was this translation helpful? Give feedback.
-
Should be starting on Trealla version 3 soon. It will focus on a new memory management & garbage collection scheme, designed to address some shortcomings of the current system. |
Beta Was this translation helpful? Give feedback.
-
@infradig Hi, what are you working next for trealla?
Just curious what's on the roadmap.
all the best,
jgart
https://whereis.みんな/
Beta Was this translation helpful? Give feedback.
All reactions