Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add VHDL-2008 syntax highlighting#666

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

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

Conversation

@BuzzwordChief

@BuzzwordChief BuzzwordChief commented Jun 7, 2026
edited
Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /