Re:John Carmack working on Scheme as a VR scripting language
by sklogic on Wednesday July 01, 2015 @10:11AM
(#9811890)
Firstly, Racket is not a Scheme. There are reader macros and all that bells and whistles. Does this look like S-expressions to you?
https://github.com/soegaard/minipascal
Secondly, even most Schemes allow to use [ ] and { } in addition to ( ).
Re:John Carmack working on Scheme as a VR scripting language
by ahoge on Wednesday July 01, 2015 @10:20AM
(#9811963)
> Firstly, Racket is not a Scheme.
Did I talk about Racket anywhere?
> Does this look like S-expressions to you?
"MiniPacal implemented in Racket"
Are you really arguing that implementing some other language is the way to go?
https://github.com/eudoxia0/cmacro http://research.swtch.com/shmacro
Totally legit "C".
Re:John Carmack working on Scheme as a VR scripting language
by sklogic on Wednesday July 01, 2015 @10:33AM
(#9812053)
> Did I talk about Racket anywhere?
This is a thread about Racket, if you did not notice.
> Are you really arguing that implementing some other language is the way to go?
This is exactly what Lisps are about. You've got a nearly raw AST at the bottom (S-expressions) and then you build up a hierarchy of languages on top of it.
"Scheme's very simple syntax is based on s-expressions, parenthesized lists in which a prefix operator is followed by its arguments. Scheme programs thus consist of sequences of nested lists."
That's as uniform as it gets. Everything is the same.