Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>scheme-r7rsNew to Visual Studio Code? Get it now.
scheme-r7rs

scheme-r7rs

dermagen

|
2,006 installs
| (1) | Free
Colorizer for R7RS Scheme programming language (with extensions)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

scheme-r7rs

Scheme language support (R7RS+/#F) for VS Code

Features

Mostly follows R7RS syntax definitions, including the following:

  • correct coloring of R7RS numerical constants, identifiers, strings, and characters
  • support for #; comments
  • support for vectors, bytevectors, quoted and backquoted forms

Extensions:

  • additional definition and syntax keywords from earlier standards and #F
  • support for #& box syntax

Screenshots

(color theme is available as scheme-r7rs-light)

Release 0.0.1

Initial release of the extension

Known Issues

Known colorizer problems (most probably cannot be easily fixed):

  • colorizer gets confused by datum prefixes such as ` ' , ,@ #& if the datum that follows is separated by newlines or comments
  • definition coloring can be easily fooled by newlines and/or comments in the first two sub-forms
  • #; comments use relaxed grammar and may be colored incorrectly in some corner cases
  • coloring of backquoted expressions is not very robust; it fails if double-nested (e.g.`(a `(b ,,c ',,d) e)) or if full forms like (unquote x) are used. Reasonable forms from real code are colored reasonably well.
  • generally, grammar is relaxed in many places, so some syntax errors won't look like errors (e.g. cons dot can be misplaced).

Credits

Based on author's .tmLanguage extension published here: textmate-scheme-support

Flaming Lambda logo borrowed from the Wizard Book

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft