Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Gecko: A fast GLR parser with automatic syntax error recovery

Gecko is a fast GLR parser generator with automatic syntax error recovery. It uses a novel algorithm that combines GLR parsing with error recovery to handle syntax errors efficiently. The parser is designed for compilers and can parse complex grammars while providing helpful error messages.

Related stories

  • Anthropic has introduced a 1 million token context window for its Claude Opus 4.6 and Sonnet 4.6 models, representing a significant technical advancement. The company is offering this increased capacity without additional charges to users.

  • The Servo browser engine is now available as an embeddable library on crates.io. A CLI tool called servo-shot was created to take screenshots of webpages using the new crate. While compiling Servo to WebAssembly isn't feasible, a playground was built for experimenting with html5ever and markup5ever_rcdom crates in WebAssembly.

  • Google released Gemini 3.1 Flash TTS, a new text-to-speech model that can be directed using detailed prompts. The model is available via the Gemini API and can only output audio files. The prompting system allows for detailed voice direction including accent, style, and emotional tone.

  • SQLite 3.53.0 is a major release with accumulated improvements including ALTER TABLE support for NOT NULL and CHECK constraints, new json_array_insert() function, and CLI enhancements via a new Query Results Formatter library.