Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Automatic Semicolon Insertion #3

Closed
trimorphdev opened this issue Jul 9, 2022 · 0 comments
Closed

Automatic Semicolon Insertion #3

trimorphdev opened this issue Jul 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request hailc An issue regarding the compiler. hailc-lexer An issue regarding the lexer hailc-parser An issue regarding the parser lang An issue regarding the language itself, such as the design

Comments

@trimorphdev
Copy link
Contributor

The language should have automatic semicolon insertion, similar to that of Go's.

let my_variable = 0   // can end here, insert semicolon
let my_variable = 1 + // can't end here, don't insert semicolon
    2                 // can end here, insert semicolon

Automatic semicolon insertion occurs during lexing/tokenizing.

@trimorphdev trimorphdev self-assigned this Jul 9, 2022
@trimorphdev trimorphdev added hailc An issue regarding the compiler. lang An issue regarding the language itself, such as the design enhancement New feature or request hailc-parser An issue regarding the parser hailc-lexer An issue regarding the lexer labels Jul 9, 2022
@trimorphdev trimorphdev added testing The feature has been implemented, but is still undergoing testing and removed testing The feature has been implemented, but is still undergoing testing labels Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request hailc An issue regarding the compiler. hailc-lexer An issue regarding the lexer hailc-parser An issue regarding the parser lang An issue regarding the language itself, such as the design
Projects
None yet
Development

No branches or pull requests

1 participant