-
**Your name and twitter handle:**
Dillon Shook @DillonShook
**Your talk idea, described briefly:**
A brief overview of lexing and parsing and how and why you might create your own language.
…
-
While testing scenarios for the string-parsing bug (see https://github.com/outofmbufs/python-pdp11-assembler/issues/1) I was writing some test code for left-shift (
-
Python lexing is far from complete.
-
Consider using something like plyara: https://github.com/plyara/plyara
-
In the documentation, this example is given for Lexing with Moo:
```javascript
@{%
const moo = require("moo");
const lexer = moo.compile({
ws: /[ \t]+/,
number: /[0-9]+/,
word: /[a-…
-
Count line and colum number while lexing, for error reporting
-
I would like to enable error handling and incremental API of menhir in my project by sedlex+menhir; I'm trying to adopt `attempt2` and `fail` of [this sample](https://gitlab.inria.fr/fpottier/menhir/-…
-
My bnfc versio is 2.8.1
``` shell
> ocaml --version
The OCaml toplevel, version 4.05.0
```
Cannot generate Testdeeplang binary.
``` shell
Use Bytes.set instead.
File "Testdeeplang.ml", line 6,…
-
Think about the following file in an imaginary language, where the grammar only matches an identifier and nothing else:
```
foo
```
(No trailing newline, token list after lexing: [Whitespace, …
-
The parser tests need to be verified. I constructed them by running ImportMarkdown on the test input from the `markdown` field in the commonmark v0.30 JSON tests. There's no guarantee they are correct…