Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forth for Zed

Forth language support for the Zed editor.

Features

  • Syntax highlighting (keywords, numbers, strings, comments, operators, word definitions)
  • Code outline (navigate between word definitions)
  • Bracket matching (: / ; pairs)
  • Indentation support
  • Comment toggling (\)

Supported File Extensions

  • .fth
  • .4th
  • .forth
  • .fs

Files with a gforth or forth shebang are also detected automatically.

Installation

Not yet part of the Zed extension registry. Install as a dev extension for now.

Development

To test locally, open Zed and use Extensions > "Install Dev Extension", then select this directory. Open any .fth file to verify.

Grammar

Uses tree-sitter-forth for parsing.

Acknowledgments

Built with Claude Code (Claude Opus 4.6, 1M context).

License

MIT

About

A Forth language extension for the Zed editor providing syntax highlighting, indentation, bracket matching, and code outline support.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages