LFGo – Lisp-Flavoured Go
bitbucket.org
LFGo – Lisp-Flavoured Go
1–10 of 28 posts
Re: LFGo – Lisp-Flavoured Go
#2If this has macros it gives people "generic" programming in Go at the cost of having to write it all in a lisp dialect. I wouldn't personally mind it but some might :-p
Re: LFGo – Lisp-Flavoured Go
#3So basically the crux of this is 100 lines of a macro[0]. Am I reading this right?
https://bitbucket.org/ktg/lfgo/src/a7f71aec7d29d00100f2d21c2...
Re: LFGo – Lisp-Flavoured Go
#4I am surprised that I didn't think about this till now but Go has simple enough syntax to where Lisp could be translated into Go code, and I wonder why Haxe doesn't translate into Go with that same thought. Go definitely has plenty of libraries at it's disposal standard library wise.
Re: LFGo – Lisp-Flavoured Go
#5If this has macros it gives people "generic" programming in Go at the cost of having to write it all in a lisp dialect. I wouldn't personally mind it but some might :-p
"Macros are supported via Racket's macro system define-syntax, define-syntax-rule and defmacro."
So yes. :-)
Re: LFGo – Lisp-Flavoured Go
#6Does this racket-based transpiler provide a REPL?
Re: LFGo – Lisp-Flavoured Go
#7Does this racket-based transpiler provide a REPL?
I was wondering something similar, can I just use Dr Racket for this? :)
Re: LFGo – Lisp-Flavoured Go
#8So basically the crux of this is 100 lines of a macro[0]. Am I reading this right? https://bitbucket.org/ktg/lfgo/src/a7f71aec7d29d00100f2d21c2...
The macro is really a bunch of case statements, so they can be interpreted independently.
Re: LFGo – Lisp-Flavoured Go
#9Re: LFGo – Lisp-Flavoured Go
#10Is the name a pun on LFO (low frequency oscillator)?