github-linguist / github-linguist/linguist
Scheme syntax is outdated
- Dominant language
- Ruby
- Stars
- 13.7k
- Forks
- 5.4k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 17
Description
## Describe the bug
Scheme syntax highlighting doesn't handle `#;` syntax for S-Expression comment. And probably a lot of other new syntaxes. I think that the project [sicp-lang/scheme.tmbundle](https://github.com/sicp-lang/scheme.tmbundle) (as the name of the org suggests) is really old, SICP was created in 1985, The latest spec of the Scheme langauge is from 2016.
Here is an example of a few modern syntaxes. expression comment, block comment, and symbol with parenthesis inside.
```scheme
(let ((x #;(expression
comment ")") 10)
(|this is )))) symbol| 20))
#|
this is comment ))))
|#
(+ x |this is )))) symbol|))
```
You can execute this in a modern Scheme and it should evaluate to 30.
### Expected behavior
I expect no errors from the modern Scheme.
### Related discussion
Maybe it's worth finding something more up-to-date. I don't know if [sicp-lang/scheme.tmbundle](https://github.com/sicp-lang/scheme.tmbundle) supports anything beyond SICP.
### Additional notes
Contributor guide
Assessment
This issue has not been assessed yet.