David Nolen on Parsing With Derivatives

YouTube

New instance, new #introduction, right?

Hi there! I'm Vito! 30-something self-taught computer #engineer
I currently live in São Paulo, Brazil, with plans to move to Italy some time in the future. Maybe.

I have a reeeally deep interest in #parsers, #interpreters & #compilers, but I'm also using my free time to build computers from scratch based on architectures from the 70's, 80's, and 90's, and some other projects, sometimes around #retrocomputing.

I'm usually using Macs (#Mac Studio Ultra/M4 #MacBook Pro <3) I also have a large #ESXi host hosting a lot of VMs and a "bare-metal" K8s cluster, but I've been a long-time user of #BSD and #Linux! <3

If I follow you, I will end up interacting with your toots in some way! Either boosting, replying, or favouriting them! Please do let me know in case any of that makes you uncomfortable!

Also feel free to let me know in case I missed a CW, Alt, or said something wrong or technically incorrect!

I think that's about it! Thanks for reading! Have a nice day! 🌻 

Finally released a new YAMD parser, which unlocked nice errors in Bar https://barhamon.com/post/Bar%200.2.0.html.

I had this idea after reading https://craftinginterpreters.com (the best technical book I have read, highly recommend).

#parsers #markdown #ssg

Bar 0.2.0 and YAMD 0.19.0

Useful errors, and the parser rewrite that made them possible.

Lattelua — когда Lua уже мало

Если вы хоть раз встраивали Lua в свой проект — будь то игровой движок, высоконагруженный веб-сервер на OpenResty или конфигуратор сложного сетевого оборудования — вы знаете, за что мы его любим:) А любим мы его — за компактность, быстроту, встраиваемость и предсказуемость. Не любим — за аскетичный синтаксис, отсутствие привычных конструкций и постоянное «изобретение велосипеда». Эта статья — обзор диалекта Lattelua : зачем он нужен, чем отличается от других диалектов, и почему его особенно удобно использовать в уже существующих проектах, где Lua — встраиваемый язык. Погнали

https://habr.com/ru/articles/1011614/

#Lua #moonscript #AST #parsers

Lattelua — когда Lua уже мало

По мотивам CoffeeScript Если вы хоть раз встраивали Lua в свой проект — будь то игровой движок, высоконагруженный веб-сервер на OpenResty или конфигуратор сложного сетевого оборудования — вы знаете,...

Хабр
Lambda Land

Why #Lexing and #Parsing Should Be Separate

"Summary: Do the easy thing with the fast algorithm, and the hard thing with the slow algorithm. Lexing and parsing are different things."

#parsers

https://github.com/oils-for-unix/oils/wiki/Why-Lexing-and-Parsing-Should-Be-Separate

Why Lexing and Parsing Should Be Separate

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell! - oils-for-unix/oils

GitHub

"We propose to re-think data management system parser design to create modern, extensible #parsers, which allow a dynamic configuration of the accepted syntax at run-time, for example to allow syntax extensions, new statements, or to add entirely new query languages."

#duckdb

https://duckdb.org/2024/11/22/runtime-extensible-parsers

Runtime-Extensible SQL Parsers Using PEG

Despite their central role in processing queries, parsers have not received any noticeable attention in the data systems space. State-of-the art systems are content with ancient old parser generators. These generators create monolithic, inflexible and unforgiving parsers that hinder innovation in query languages and frustrate users. Instead, parsers should be rewritten using modern abstractions like Parser Expression Grammars (PEG), which allow dynamic changes to the accepted query syntax and better error recovery. In this post, we discuss how parsers could be re-designed using PEG, and validate our recommendations using experiments for both effectiveness and efficiency.

DuckDB

"Parsing SQL queries provide superpowers for monitoring data health. This post elaborates on how to get started with parsing SQL for data observability."

#opensource #sql #parsers #computerscience

https://tokern.io/blog/open-source-sql-parsers/

Open Source SQL Parsers

A survey of open source SQL parsers to extract information from query history

Tokern