Ask HN: Is there any other interactive n extensible low level pl except forths

4 points by ArtixFox ↗ HN
what does interactive and extensible mean? interactive -> you have an optional repl that can be used to test and program stuff, or you have an environment like smalltalk extensible ->syntax can be extended like in forths and lisps low level -> you can write an operating system, a gui library, high performance code, etc in this language with relative ease.

a low level interactive n extensible language will be very fun but it will have few problems like the backend must be written from scratch or you wont be able to extend the compiler, etc.

does a language like this, which is NOT FORTH exist

2 comments

[ 4.9 ms ] story [ 17.6 ms ] thread
Please elaborate what you look for:

* Squeak allows access and extension of VM internals: https://www.hpi.uni-potsdam.de/hirschfeld/publications/media...

* Similar for SmalltalkVM: https://hal.archives-ouvertes.fr/hal-01883380/document

* Macro assemblers/High level assemblers are extensible through macros: https://en.wikipedia.org/wiki/Assembly_language#High-level_a... Some assemblers even support algebraic expressions.

ah crap! sorry, i want..well, i think the best way would be to use some other language as an example

I want something like Zig, or C or any other low level programming language but i want it to be extensible and interactive, so that i can interactively explore the system, add constructs that i want to, etc. Macro/HL assemblers sound good but they are missing the interactivity