1.83K subscribers
3.3K photos
132 videos
15 files
3.58K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Forwarded from The After Times
🤣21👍3😁3🖕1
👍15😁8❤‍🔥31🖕1
😒🤚 Заводчанин
😏👉 Завод-чан
🤯122🤔2🤡2💩1😐1🖕1
🖕1
Forwarded from Trap ~ езные мемы😇 (Flake)
🤮108🤔4💩2🖕1
🖕1
Not a problem anymore
😁22🎉9💩1🖕1
Forwarded from Neural Machine
Настоящий мужчина должен уметь вязать на спицах - это позволяет сохранять тепло в отношениях.
4🖕1
Neural Machine
Настоящий мужчина должен уметь вязать на спицах - это позволяет сохранять тепло в отношениях.
Я, конечно, ни на что не намекаю, но вязать на спицах я умею.

И пофиг, что в последний раз я этим занимался ещё в школе.
👍9🤷2🤨1🖕1
Можно бесконечно смотреть на три вещи: на горящий огонь, на текущую воду и на то, как WhatsApp шлёт уведомления о том, что текущая версия устарела
🔥13🖕1
🖕1
Forwarded from ТГ Шевченка
😁3🤔1🤨1😐1🖕1
Forwarded from shitposting 3.0 [+ dragons]
😁21🖕1
🖕1
Forwarded from shitposting 3.0 [+ dragons]
😁8🖕1
🖕1
Forwarded from shitposting 3.0 [+ dragons]
😁14🖕1
#prog #rust #parsing #article

Resilient LL Parsing Tutorial

In this tutorial, I will explain a particular approach to parsing, which gracefully handles syntax errors and is thus suitable for language servers, which, by their nature, have to handle incomplete and invalid code. Explaining the problem and the solution requires somewhat less than a trivial worked example, and I want to share a couple of tricks not directly related to resilience, so the tutorial builds a full, self-contained parser, instead of explaining abstractly just the resilience.

The tutorial is descriptive, rather than prescriptive — it tells you what you can do, not what you should do.

* If you are looking into building a production grade language server, treat it as a library of ideas, not as a blueprint.
* If you want to get something working quickly, I think today the best answer is “just use
Tree-sitter”, so you’d better read its docs rather than this tutorial.
* If you are building an IDE-grade parser from scratch, then techniques presented here might be directly applicable.
🔥2🤔1🖕1