
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Fastbelt is a high-performance DSL toolkit for Go with a parser generator and Language Server Protocol (LSP) support.
It is designed for language tooling that needs low latency and good throughput on large workspaces.
For background and benchmarks, see the Fastbelt introduction blog post.
Fastbelt ships as a Go module:
go get typefox.dev/fastbelt@latest
go get -tool typefox.dev/fastbelt/cmd/fastbelt@latest
You can also globally install the fastbelt CLI:
go install typefox.dev/fastbelt/cmd/fastbelt@latest
The first step is to write a grammar definition file, e.g. grammar.fb, which has a similar format as the grammar language of Langium.
To run the code generator for your grammar definition:
# globally installed
fastbelt generate ./grammar.fb -o ./
# on demand install
go run typefox.dev/fastbelt/cmd/fastbelt@latest generate ./grammar.fb -o ./
This writes generated Go files for services such as lexer, parser, linker, and type definitions.
Typically you will want to run generation using go generate.
Add a directive to some file in your module (assumes install with go tool):
//go:generate go tool typefox.dev/fastbelt/cmd/fastbelt generate ./grammar.fb -o ./
To bootstrap a new Go module for a language (minimal .fb grammar, go:generate using go tool on this CLI, LSP command, and VS Code extension layout), run:
fastbelt scaffold --module example.com/you/mylang --language "MyLanguage" --vscode
That creates a directory named after the last segment of --module (here ./mylang) in the current working directory, runs go mod init, pulls in fastbelt as a library and tool dependency, lays down the files, and runs go generate. Use fastbelt scaffold -h for full usage.
A minimal state machine example is available in examples/statemachine.
For editor integration, see the VS Code extension in internal/vscode-extensions/statemachine.
See CONTRIBUTING.md for contribution guidelines.
Fastbelt is licensed under the MIT License.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.