Add legacy Pegjs support #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR ports the PEGjs support from CodeMirror 5.
The CodeMirror 5 PEGjs file was rewritten in Typescript. Currently Rollup does not produce a
pegjs.d.ts, but this could be changed. (I don't think it's needed since apegjs.tsis present, but maybe it still is...).I would prefer for this mode to be plain JavaScript like all the others so that we don't have to complicate the build system for it.
Done. I have committed the compiled version and removed the original
tsfile.Redone in
79e682ato preserve coding style used in other modes.Pull request closed