r/ProgrammingLanguages • u/CodrSeven • Feb 13 '26
shik - scripting language derived from Common Lisp and Logo
https://gitlab.com/codr7/shikshik is a simple, hackable scripting language implemented in Kotlin.
The primary intended use case is as an embedded application scripting language.
22
Upvotes
View all comments
Show parent comment
1
u/CodrSeven Feb 14 '26 edited Feb 14 '26
I've played around a lot with the order of tokens in my language designs, started with Forth so it came naturally.
Being able to shift tokens at will is very nice, takes some of the edge off doing math for sure. I've seen similar tricks played in multiple languages, often to make it look more like OOP (which I also do).
I don't do keywords, except for specific symbols triggering the reader to behave in certain ways, '(' for example; it's all methods and macros.
The dot is currently bundled up as a composite form containing both left and right sides at read time, the order is reversed once code is generated. Makes certain syntactical constructs possible that would otherwise not work. Before that I simply switched the tokens directly in the reader.