Skip to content

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