Tool: ECMAScript 5 Parser, by @pvdz.ee:
https://pvdz.ee/project/esparser/
#tools #exploration #auditing #debugging #ecmascript #parsing
Tool: ECMAScript 5 Parser, by @pvdz.ee:
https://pvdz.ee/project/esparser/
#tools #exploration #auditing #debugging #ecmascript #parsing
In which I have Opinions about parsing and grammars - by Simon Tatham
https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/parsing/
I'm trying to write a formatter for a custom scripting language and left recrusion is really getting on my nerves. I'm using python's parsy library and I can't really solve how to parse the following example without causing the left recursion.
cells[col][row].clear(true);
Herb: Powerful and seamless HTML-aware ERB parsing and tooling
#HackerNews #Herb #HTML #ERB #parsing #tooling #seamless #development
Бинарный формат вместо текста
Как быстро, без боли и страданий организовать хранение структурированных данных в бинарном формате. А затем и их передачу при необходимости. А потом, немного подумав, ещё их обнаружение в «замусоренном» потоке.
https://habr.com/ru/articles/895902/
#rust #protocols #parsing #binary #communication #no_database #storage #binary_storage #filtering
A Perplexing JavaScript Parsing Puzzle, by @hillelwayne.com:
What does this print? x = 1 x --> 0 Think it through, then try it in a browser console! Answer and explanation in the dropdown. Show answer It prints 1. wait wtf At the beginning of a line (and only at the beginning of a line), --> starts a comment. The JavaScript is parsed as x=1; x; // 0 The browser then displays the value of the last expression, which of course is 1.