Published
Edited
Mar 12, 2019
Importers
7 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
helloWorldDsl = pegjs`
start = 'hello' { return 'world' }
`
Insert cell
Insert cell
helloWorldDsl`hello`
Insert cell
Insert cell
Insert cell
Insert cell
pegjsWithContext = pegjsFactory({context: {ASTNode: (type, value) => ({type: type, value: value})}})
Insert cell
astDsl = pegjsWithContext`
start = 'hello' { return ASTNode('hello', 'world') }
`
Insert cell
astDsl`hello`
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