Skip to content

Add VHDL-2008 syntax highlighting#666

Open
BuzzwordChief wants to merge 1 commit into
focus-editor:mainfrom
BuzzwordChief:main
Open

Add VHDL-2008 syntax highlighting#666
BuzzwordChief wants to merge 1 commit into
focus-editor:mainfrom
BuzzwordChief:main

Conversation

@BuzzwordChief

@BuzzwordChief BuzzwordChief commented Jun 7, 2026

Copy link
Copy Markdown

Adds basic syntax highlighting for VHDL-2008.

Bildschirmfoto 2026-06-07 um 21 28 34
  • New src/langs/vhdl.jai implemented in the same style as the C highlighter (src/langs/c.jai).
  • Case-insensitive keywords (using equal_nocase over a compile-time entry list to avoid per-identifier allocations).
  • File extension detection for .vhd, .vhdl
  • Single-line comment toggling (--); block comments fall back to single-line.
  • Added language sample for the color preview widget.
  • Registered in the language enum, tokenizer dispatch, file type tables, and extension mapping.

Disclaimer: This was heavily vibe-coded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant