Never Write Your Own Date Parsing Library, by @zachleat:

Never Write Your Own Date Parsing Library, by @zachleat:
LL và LR Parsing: Giải mã các phương pháp phân tích cú pháp từ trên xuống (LL) và từ dưới lên (LR) trong lĩnh vực khoa học máy tính. Tìm hiểu sự khác biệt và ứng dụng của chúng!
#parsing #LLparsing #LRparsing #phântíchcúpháp #LL #LR #khoahoọcmáytính
https://blog.reverberate.org/2013/07/ll-and-lr-parsing-demystified.html
Parsing 1 Billion Rows in Bun/TypeScript Under 10 Seconds, by (not on Mastodon or Bluesky):
@artificialmind Nice! Thank you for the kind words!
Your own programming language!? This sounds really cool! We need those ambitious goals!
I wish you great success!
The following might be helpful in your journey (they are one of the best resources I know about #Parsing, #Compilers etc.):
A tutorial on how to write a #compiler using #LLVM:
https://tomassetti.me/a-tutorial-on-how-to-write-a-compiler-using-llvm/
A Guide to Parsing: #Algorithms and Terminology
https://tomassetti.me/guide-parsing-algorithms-terminology/
Tool: ECMAScript 5 Parser, by @pvdz.ee:
In which I have Opinions about parsing and grammars - by Simon Tatham
https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/parsing/
Herb: Powerful and seamless HTML-aware ERB parsing and tooling
Бинарный формат вместо текста
Как быстро, без боли и страданий организовать хранение структурированных данных в бинарном формате. А затем и их передачу при необходимости. А потом, немного подумав, ещё их обнаружение в «замусоренном» потоке.
A Perplexing JavaScript Parsing Puzzle, by @hillelwayne.com:
Consider contributing to BABLR today! You could be our first backer!
This is going to make life so much easier: URL Pattern API
https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API
damn chumsky error messages are straight up unreadable
@dave how hard would it be to try?
I think you'd be able to get faster results, with very little overhead.
If not and your work is ready for another tester, I have the hardware.