Open-Jellycore
Open-Jellycore copied to clipboard
Numeric value not allowed is variable assignment
Describe the bug
var num = 0.9
generates a syntax error. This is different from AppStore Jellycuts
To Reproduce
Steps to reproduce the behavior:
- Paste the above code into file oj_dURL_post_2.jelly
- compile with command
jelly oj_dURL_post_2.jelly --export --out u_oj_dURL_post_2.shortcut
- Observe output
Variable 0.9 does not exist. Make sure that you have initialized the variable 0.9 Found 1 errors
Expected behavior
File will similar code compiles in AppStore Jellycuts to "# 0.9" action
Information
- Device: [MacBook Pro, 14-inch, 2021]
- OS: [Sonoma 14.5]
- Jellycuts Version [???, jelly command does not provide method to generate version (/opt/homebrew/bin/jelly)]
- Jailbroken? [No]
Additional context
fix may be in tree-sitter-jelly