generated from tweag/project
-
Notifications
You must be signed in to change notification settings - Fork 47
Add experimental CFML support #873
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
Open
ghedwards
wants to merge
27
commits into
tweag:main
Choose a base branch
from
cfmleditor:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
e16c4c4
Add basic tree-sitter-cfml config
ghedwards 5a43667
Create tree-sitter-cfml.wasm
ghedwards 60b9e27
Build cfml.yml
ghedwards 27b40d6
Revert "Build cfml.yml"
ghedwards def3a35
Merge pull request #1 from cfmleditor/cfml
ghedwards 237e5e6
Fix package for tree-sitter-cfml
ghedwards 0d12100
Update tree-sitter-cfml
ghedwards 0ca6aff
Fix new line at the bottom of cfml.scm ( otherwise test was failing )
ghedwards 5f315b4
Rollback version update
ghedwards ff724c9
Rollback Cargo version updates
ghedwards 7a33e8f
Rollback flake.lock
ghedwards 654a2fe
Wasm build was missing cfml path
ghedwards c4ffe3a
try get ci.yml working on github
ghedwards 58961d4
Fix formatting issue ( line at end of file causing ci.yml to fail
ghedwards 18501ff
Basic input / output test
ghedwards 9925bbd
Fix cfml.scm format
ghedwards 745ca05
CFML formatting improvements ( still early days )
ghedwards 4421dd9
Try restore playground / wasm to flake.nix
ghedwards 1f5b823
Default indents for CFML to tabs
ghedwards 596411c
Update README.md
ghedwards f8b94e4
Revert topiary.png to 37883aa57ccd481b74f9b66ce65557e83b2422c7
ghedwards 55cef1c
Revert topiary_logo.png to 37883aa57ccd481b74f9b66ce65557e83b2422c7
ghedwards b6f7977
Revert favicon-32x32.png to ec0e71584b4f8f9b6d408d1f75df6ed0ff46f89b
ghedwards 68b893d
Revert .wasm files
ghedwards a828d06
Remove cfml references where not required
ghedwards 079b059
Merge branch 'tweag:main' into main
ghedwards 0609ec5
Merge branch 'tweag:main' into main
ghedwards File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <cfcomponent> | ||
| <cffunction> | ||
| <cfargument/> | ||
| <cfset var test = "test" /> | ||
| <cfset test2 = "" /> | ||
| <cfset test3 = "" /> | ||
| </cffunction> | ||
| </cfcomponent> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| <cfcomponent><cffunction><cfargument><cfset var test = "test"/><cfset test2 = ""><cfset test3 = ""></cffunction></cfcomponent> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,7 @@ description = """ | |
| [features] | ||
| bash = [] | ||
| css = [] | ||
| cfml = [] | ||
| json = [] | ||
| nickel = [] | ||
| ocaml = [] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| (cf_tag_open) @append_hardline | ||
| (cf_tag_close) @append_hardline | ||
|
|
||
| ( | ||
| (cf_tag_open) @append_indent_start | ||
| _ | ||
| (cf_tag_close) @prepend_indent_end | ||
| ) | ||
|
|
||
| (cf_set_tag) @append_hardline | ||
| (cf_selfclose_tag) @append_hardline | ||
|
|
||
| (cf_var) @prepend_space | ||
| (assignment_expression) @prepend_space @append_space | ||
|
|
||
| (assignment_expression "=" @prepend_space @append_space) | ||
|
|
||
| ( | ||
| (cf_selfclose_tag_end) @prepend_delimiter | ||
| (#delimiter! "/") | ||
| (#not-match? @prepend_delimiter "/") | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are still missing a link, here. In markdown, enclosing text in square brackets
[like this]is a shorthand for specifying a reference with the same text ([like this][like this]). When the reference is defined, the markdown is rendered as a link. Following our example, all of the following are equivalent:If you scroll to the bottom of
README.md, you'll see where all the references are defined. You should also define one for[cfml], pointing to an authoritative source of information on CFML.