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

New plugin for Janet language #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cesarmarinhorj
Copy link

. still incomplete

. still incomplete
@@ -0,0 +1,685 @@
-- Support for the Fennel programming language: https://fennel-lang.org
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fennel? wasn't this for janet?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this the website? https://janet-lang.org/

@SwissalpS
Copy link
Contributor

SwissalpS commented May 11, 2024

still incomplete

you can switch to 'draft PR' to indicate that it is still WIP (work in progress)

{ pattern = "-?%d+[%d%.]*", type = "number" },
{ pattern = "-?%.?%d+", type = "number" },
{ pattern = "%f[^(][^()'%s\"]+", type = "function" },
{ pattern = ":[%w_-/]*", type = "constant" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:[%w_%/-]* seems to work

{ pattern = "-?%.?%d+", type = "number" },
{ pattern = "%f[^(][^()'%s\"]+", type = "function" },
{ pattern = ":[%w_-/]*", type = "constant" },
{ pattern = "nil", type = "literal" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nil, true and false probably should be added to symbols field as they aren't patterns

@SwissalpS
Copy link
Contributor

you'll also want to edit readme.md to be approved

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.

2 participants