Compiler/Verifying syntax: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(→Generic PEG Library: Omit calls to trace) |
m (→{{header|Wren}}: Minor tidy) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 668:
</syntaxhighlight>
====Generic PEG Library====
The jq module at [[:Category:Jq/peg.jq]] can be included by copying it to a file,
and adding an `include` statement to top of the main program, e.g. as follows:
<syntaxhighlight lang=jq>
include "peg" {search: "."};
</syntaxhighlight>
Line 1,540 ⟶ 1,501:
{{libheader|Wren-dynamic}}
{{libheader|Wren-str}}
<syntaxhighlight lang="
import "./str" for Char
var Token = Enum.create(
|