-
Count line and colum number while lexing, for error reporting
-
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-…
-
@nbp noticed that lemire/simdjson initially scans string literals in JSON input without expanding escape sequences.
We could do that. It would likely reduce copies.
-
Current implementation:
```rust
pub fn ast_from_expression(
&mut self,
s: &str,
) -> ZiaResult {
let tokens: Vec = parse_line(s)?;
self.ast_from_tokens(&tokens)
}
```
`Sh…
-
- [x] Whitespace removal
- [x] Comment removal
- [ ] Register renaming
- [ ] Label renaming (?)
- [x] ~~Symbol case-insensitivity~~ (included in lexing in #12)
-
**Name of the lexer**
ocaml
**Code sample**
```ocaml
let isquote c = match c with '"' | '\'' -> true | _ -> false
```
Link to sample on rouge.jneen.net : http://rouge.jneen.net/v3.26.0/oca…
-
```
Lexing error on this page http://en.wiktionary.org/wiki/Dutch results in giving
"ʌtʃ" as the pronounciation of
http://wiktionary.dbpedia.org/page/Dutch-English
```
Original issue reported on co…
-
```
Lexing error on this page http://en.wiktionary.org/wiki/Dutch results in giving
"ʌtʃ" as the pronounciation of
http://wiktionary.dbpedia.org/page/Dutch-English
```
Original issue reported on co…
-
A blog post needs to be written about the numerous tricks used in the `repr` project. It has some notable differences to other static reflection libraries such as `boost::pfr`. The technique used to c…
Tsche updated
3 months ago
-
### Versions
* Python: 3.6
* OS: opensuse
* Kivy: master (~1.11)
* Kivy installation method: git clone
### Description
The line-breaks added when the width of a CodeInput is small prev…