4 ms·
I'm starting to wonder if Rubinius could be a fourth entrant in the emerging platform race. Anyone know if there are any (other) serious language implementatio
by hammerdr 15y ago
I'm starting to wonder if Rubinius could be a fourth entrant in the emerging platform race.
Anyone know if there are any (other) serious language implementations using PEGs? Coffeescript itself is based on @zaach's jison (a port of Bison to javascript) so that part is as impressive to me as using a native VM.
Edit: I remember that Cucumber (or, more specifically, gherkin) used TreeTop before Aslak moved it to the Ragel parser.
- kingkilr 15y agoI don't know about implementations using PEGs, but I do know that the parser is possibly the least interesting thing about a virtual machine.
- hammerdr 15y agoI don't disagree. Though, the post is about a new language that compiles down to an existing VMs instruction set :) That's not been done before in Coffeescript (as far as I know) but its also noteworthy because a PEG (which facilitates transforming syntax and semantics into a program using the VM instruction set) was used. Javascript itself has also been compiled against a VM before. See: Rhino, IronJS.
- ssmoot 15y agoCLR, JVM... what's the third?
- vito 15y agoJavaScript, I'd say.
- IdeaHamster 15y agoParrot (http://www.parrot.org/ http://www.parrot.org/)
- ekiru 15y agoAlmost every Perl 6 implementation implements their parser using Perl 6 regexes(partly because it's much more difficult to properly support the extensible grammar otherwise), which are essentially PEGs.