casey / shellkit

🐚 Build your own shell
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Pluggable expression languages #6

Open casey opened 5 years ago

casey commented 5 years ago

A separate expression language should be supported, like inside $(..) or whatever. Users should be able to use whatever expression language they like.

casey commented 5 years ago

Try writing a simple infix arithmetic language, or a lisp or something.

casey commented 5 years ago

For a lisp, this looks promising: https://github.com/murarth/ketos

casey commented 5 years ago

Could it be as easy as supplying a .lalrpop?