ohmjs / ohm

A library and language for building parsers, interpreters, compilers, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editor should support export and import

wenerme opened this issue · comments

The grammar is easy to copy and paste, but the examples is also very important, consider allowed write examples in grammar or export import json

write examples in grammar like

/**
 * @example
 * ```
 * t: 1 + 1
 * f: 1 + a
 * ```
 */
Arithmetic {
}