Better HN
topnewbestaskshowjobs
Log inSign up

awarth

2 karma · joined Aug 4, 2016 (10y ago) · 6 submissions

Submissions

1.

A Guided Tour of Sketchpad(youtube.com ↗)

2 points · by awarth · 1mo ago · discuss

comment 9y ago · link · parent

From Ohm's README file:

> Like its older sibling OMeta, Ohm supports object-oriented grammar extension. One thing that distinguishes Ohm from other parsing tools is that it completely separates grammars from semantic actions. In Ohm, a grammar defines a language, and semantic actions specify what to do with valid inputs in that language. Semantic actions are written in the host language -- e.g., for Ohm/JS, the host language is JavaScript. Ohm grammars, on the other hand, work without modification in any host language. This separation improves modularity, and makes both grammars and semantic actions easier to read and understand.

You can read all about it here: https://github.com/harc/ohm

comment 9y ago · link · parent

Ohm 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

comment 9y ago · link · parent

I just added a link to a GitHub repo and live demo for the Natural language Datalog project. (You can see them if you hover over the image, on the Flex website.)