You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An import pattern should be added to the lexer, rules should be written for parser and generator, and the necessary runtime (if needed) should be created.
Add import pattern in core/patterns.js
Add from pattern in core/patterns.js
Add parser rules in core/clio.beef
Add generator rules in core/generator.js
Add required builtins and runtime in core/internals
An
import
pattern should be added to the lexer, rules should be written for parser and generator, and the necessary runtime (if needed) should be created.import
pattern incore/patterns.js
from
pattern incore/patterns.js
core/clio.beef
core/generator.js
core/internals
Import statement should work with below patterns:
url
means(http|ws)s?://.*
Related: #66
Another approach would be to parse
path|url
when generating and not on parse time, this'll save us from writing duplicated parser rules.For beef files, there's a vscode addon hosted here:
https://github.com/pouya-eghbali/bean/tree/master/vscode-beef
The text was updated successfully, but these errors were encountered: