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

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

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

#Lua #moonscript #AST #parsers

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

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

Хабр
Explainer: Tree-sitter vs. LSP

I got asked a good question today: what is the difference between Tree-sitter and a language server? I don’t understand how either of these tools work in depth, so I’m just going to explain from an observable, pragmatic point of view.

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
Tiark's Notebook

Tiark Rompf is an Associate Professor at Purdue University. Notes and blog posts on programming, research, CS, software systems.

We have come to understand this extra data structure as seen with #Intel #IFWI images with BPDT v2.
There is now an ME partition and it starts with another preceding struct that defines... regions? They somewhat align with parts of the BDPT that follows, even pointing to it. Not sure yet what to call this stuff.
But it's damn cool to write #parsers in #Rust for this kind of analysis. It's soooo easy!
Want to detect #realtime threats from unstructured #logs? Learn how sequence can auto-generate #parsers and create name-value pairs from logs in this #oSC25 #video. #opensource #Linux #openSUSE https://youtu.be/RcqGjwRGZKA?si=0UghijjXXQKimeDw
openSUSE Conference 2025 - Fine tuning log routing

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

YouTube