ohmjs / ohm-editor

An IDE for the Ohm language (JavaScript edition)
MIT License
96 stars 18 forks source link

Editor should support export and import #74

Open wenerme opened 2 years ago

wenerme commented 2 years ago

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 {
}

https://github.com/harc/ohm/issues/396