4 ms·
That’s definitely a neat idea. Is it modeled after any specific language customization approach? Is it well positioned for, say, macros?
by eyelidlessness 3y ago
That’s definitely a neat idea. Is it modeled after any specific language customization approach? Is it well positioned for, say, macros?
- recursivedoubts 3y agoI know tcl also allows you to extend the language, but i have to admit I've never looked too much into it. Like tcl, hyperscript has strong start tokens for most statement-like things (we call them commands, as does tcl if i understand correctly). I don't think it maps well to macros, it's just an open parser that you can plug new stuff into pretty easily by adding a keyword + some parsing and eval logic to dynamically.