Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fortran (free form) grammar #18

Merged
merged 1 commit into from
Jan 29, 2024
Merged

feat: add fortran (free form) grammar #18

merged 1 commit into from
Jan 29, 2024

Conversation

uncenter
Copy link
Contributor

@uncenter uncenter commented Jan 28, 2024

Adds a grammar for the Fortran programming language (free form). I was going to add fixed form as well but I couldn't find an adequate sample file.

Screenshot 2024-01-28 at 13 16 59 (Arc)

@antfu antfu merged commit 3fdbeb0 into shikijs:main Jan 29, 2024
2 checks passed
@uncenter uncenter deleted the add-fortran branch January 29, 2024 13:37
@GitMensch
Copy link

I was going to add fixed form as well but I couldn't find an adequate sample file.

You possible find one at https://en.wikibooks.org/wiki/Fortran/Fortran_examples

@uncenter
Copy link
Contributor Author

I tried those but couldn't verify their accuracy since gfortran only compiled F90+. I'll see if they look right in the playground and add them if so, I'll let you know.

evoactivity added a commit to evoactivity/textmate-grammars-themes that referenced this pull request Jan 29, 2024
* main:
  chore: improve playground (shikijs#19)
  feat: add fortran (free form) grammar (shikijs#18)
  chore: improve playground info display, close shikijs#20
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.

3 participants