> On Dec 30, 2015, at 12:58 PM, Christopher Allan Webber 
> <[email protected]> wrote:
> 
> Matt Wette writes
>> The purpose of the tree-il conversion is to support “,L <langauge>” at
>> the guile prompt.  And the tree-il code is done for javascript and a
>> simple calculator, not C.  I just tried the javascript and it is not
>> working, but here is a small demo with the simple calculator.  The
>> calc files (parser, compiler and spec) are included below.
>> 
>> scheme@(guile-user)> ,L calc
>> Happy hacking with calc!  To switch back, type `,L scheme'.
>> calc@(guile-user)> a = 3 + 4
>> calc@(guile-user)> ,L scheme
>> Happy hacking with Scheme!  To switch back, type `,L calc'.
>> scheme@(guile-user)> a
>> $1 = 7
> 
> That's really interesting.  Do you have more specific applications in
> mind beyond this?

Well.  I wanted to go through the exercise of writing to the tree-il, but have 
no real goals as of yet.

Matt

Reply via email to