klipse

2017-03-27T18:43:56.895913Z

@viebel is there a tutorial somewhere about how to extend Klipse for a new language? I like to tinker with new languages, and I'm tossing around the idea of writing a toy language starting mostly with a set of blogposts

2017-03-27T18:44:57.913690Z

I see how Klipse adds support for languages (in the lang) folder, but can I use Klipse from a CLJS program as a library or something?

Yehonathan Sharvit 2017-03-27T18:59:01.160350Z

Hi @tbaldridge

Yehonathan Sharvit 2017-03-27T18:59:57.176634Z

Could you elaborate on what you want to achieve exactly?

Yehonathan Sharvit 2017-03-27T19:01:01.195647Z

The natural way would be to create a standalone javasascript file that exposes an “eval” function of your language

Yehonathan Sharvit 2017-03-27T19:12:46.392027Z

Will your language do eval only or will it also create graphical elements like Oblivion http://blog.klipse.tech/data/2017/03/22/oblivion.html

2017-03-27T20:07:34.287633Z

@viebel it's more like, I have a JS function "E" which I can use to eval a string representation of my language "Foo". How do I hook this into Klipse? Does it require me downloading and deploying Klipse on my own?

2017-03-27T20:07:52.292528Z

And no, the output of my "E" function is data, but I can make it a text string as well