UNPKG

functionalscript

Version:

FunctionalScript is a purely functional subset of JavaScript

20 lines (19 loc) 518 B
import { classic, deterministic } from "../testlib.f.js"; import { toData } from "./module.f.js"; export default { toData: () => { const c = toData(classic()); const d = toData(deterministic()); }, example: () => { const grammar = { space: 0x000020_000020, digit: 0x000030_000039, sequence: ['space', 'digit'], spaceOrDigit: { 'whiteSpace': 'space', 'digit': 'digit', } }; } };