Published
Edited
May 4, 2022
1 star
Insert cell
Insert cell
grammar.match('Hello').succeeded()
Insert cell
grammar.match('foo james').succeeded()
Insert cell
grammar = ohm.grammar(`
MyGrammar {
FullName = text text
text = (letter | "-" | ".")+
}
`);
Insert cell
Insert cell
{
return toAST(grammar)(grammar.match('foo james'))
}
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more