Alexander Gladysh
Alexander Gladysh
A collection of sci-fi fairy tales told by a retired bot. (In Russian) Implemented with a template-based generator and a few inspired human beings to write templates. Links: * [sources](https://github.com/agladysh/storygen/tree/NaNoGenMo2016.SkazBotov),...
A collection of tales told by a decrepit starship AI. Implemented with a template-based generator and a few inspired human beings to write templates. Links: * [sources](https://github.com/agladysh/storygen/tree/NaNoGenMo2016.OldStarshipTales), * [data](https://github.com/agladysh/storygen/blob/NaNoGenMo2016.OldStarshipTales/stories/OldStarshipTales.json), *...
``` $ python3 main.py foo.luac Traceback (most recent call last): File "main.py", line 123, in retval = main() File "main.py", line 77, in main header, prototype = ljd.rawdump.parser.parse(file_in) File "/Users/agladysh/projects/ljd/ljd/rawdump/parser.py",...
I have a large chunk of data in a file, encoded with msgpack, and I want to load it to Lua. I do not want to pay for overhead of...
long-text.txt ``` 1 2 3 4 ``` Error message: ``` Error: Syntax error at line 1 col 1: 1 3 ^ 2 4 3 Unexpected numbers token: "1". Instead, I...
Consider this code in the `nearleyc` implementation: https://github.com/kach/nearley/blob/master/bin/nearleyc.js#L29 It [feeds](https://github.com/kach/nearley/blob/master/lib/stream.js#L14) the fs stream via a `StreamWrapper` instance to the parser's feed() function as is. The `Parser.feed()` implementation [calls](https://github.com/kach/nearley/blob/master/lib/nearley.js#L281) `lexer.reset()` with...
Current implementation produces error message of hundreds of lines for larger grammars. Ideally as a nearley user I would be able to format the error message myself from the data...
Looks like that it is possible to create two different rocks that own the same file (with `install.bin`, for example). And looks like LuaRocks behaves erratically when user uninstalls one...
Signed-off-by: Alexander Gladysh An attempt to implement #52
When dumping small documents for human consumption, I'd like to have an option to suppress document start and end markers. ``` - Some: data ``` instead of ``` --- -...