4 ms·
The name is a reference to Alan Kay's master's thesis. Here's an excerpt https://www.mprove.de/diplom/gui/kay68.html https://www.mprove.de/diplom/gui/kay68.html
by adamnemecek 10y ago
The name is a reference to Alan Kay's master's thesis.
Here's an excerpt https://www.mprove.de/diplom/gui/kay68.html https://www.mprove.de/diplom/gui/kay68.html
Also, I've previously looked into Ometa, the predecessor of Ohm and I found it to be the possibly cleanest parsing solution available. Check it out if you ever feel parsing-monious.
- pjc50 10y agoA colleague of mine did some very impressive work with Ometa; it seems to be not just a parser but a system for building all sorts of compiler-like things.
- walterbell 10y agoThose interested in Ometa can check out the Metacompiler tutorial for background, http://www.bayfronttechnologies.com/mc_tutorial.html http://www.bayfronttechnologies.com/mc_tutorial.html and experiment with a JS-based demo metacompiler, http://www.bayfronttechnologies.com/mc_workshop.html http://www.bayfronttechnologies.com/mc_workshop.html
- nickpsecurity 10y agoIt's a metaprogramming language. The idea is you can both describe new ways to express a program and the program itself. The most well-known form of this is probably DSL's that let you express a solution concisely in a given domain. Kay and his people do that extensively at VRI. http://www.vpri.org/html/work/ifnct.htm http://www.vpri.org/html/work/ifnct.htm http://www.vpri.org/pdf/tr2007008_steps.pdf http://www.vpri.org/pdf/tr2007008_steps.pdf
- wslh 10y agoOMeta is/was a pleasure to work with. I used it for parsing s-expressions [1]. I also chose it because there were (experimental) C# implementations. Now ANTLR 4 also supports C# but OMeta has less friction for learners. [1] http://blog.databigbang.com/parsing-s-expressions-in-c-using-ometa/ http://blog.databigbang.com/parsing-s-expressions-in-c-using...
- tootie 10y agoMy first thought was it was about Flash and ActionScript. This is much better.
- lobster_johnson 10y agoOhm looks to be JavaScript only? I've been looking for a nice lib that can also generate the parser in Go.
- azeirah 10y agoYeah, the only implementation right now is in JS. They do want it to be language independent though, although I'm not seeing that happening anytime soon x]
- awarth 10y agoOhm is language-independent, but our reference implementation is in JS. There is also a Smalltalk-based implementation that was done by Patrick Rein at HPI: https://github.com/hpi-swa/Ohm-S https://github.com/hpi-swa/Ohm-S
- deleted 10y ago[deleted]