Re: Q on (language spec)

2015-10-23 Thread Matt Wette
> On Oct 22, 2015, at 5:20 PM, Matt Wette wrote: > > >> On Oct 18, 2015, at 8:53 PM, Nala Ginrut > > wrote: >> And I'm grad that you write a new lexer generator (before it I only know >> silex), it's great! Would you like to make the generated tokens >> compatible w

Re: Q on (language spec)

2015-10-22 Thread Matt Wette
> On Oct 18, 2015, at 8:53 PM, Nala Ginrut wrote: > And I'm grad that you write a new lexer generator (before it I only know > silex), it's great! Would you like to make the generated tokens > compatible with scm-lalr? If so, people may rewrite their lexer module > with your lexer generator, and

Re: Q on (language spec)

2015-10-18 Thread Nala Ginrut
Nice work! For more generic discussion about multi-lang, I could share some opinions. Most of the time, we just need to convert our AST/IR to tree-il. But I saw old guile-lua frontend added something in the lower level. I haven't learned it deeper. There're two identical forms of tree-il, s-expr

Re: Q on (language spec)

2015-10-18 Thread Matt Wette
> On Oct 17, 2015, at 12:02 PM, Matt Wette wrote: > I am playing with the compiler tower and have been digging through the > (system base language) module to try to get my hands around writing to the > compiler tower. . Here is a simple calculator example that I have working with my own inte

Q on (language spec)

2015-10-17 Thread Matt Wette
I am playing with the compiler tower and have been digging through the (system base language) module to try to get my hands around writing to the compiler tower. Here is the define-language signature: define-language [#:name] [#:title] [#:reader] [#:printer]