Skip to content

Commit

Permalink
Add float literals TODO comment (#58)
Browse files Browse the repository at this point in the history
Float literals comment
  • Loading branch information
gregorybchris authored Dec 21, 2023
1 parent 2ab5d57 commit ee66015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scrapscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def parse(tokens: typing.List[Token], p: float = 0) -> "Object":
token = tokens.pop(0)
l: Object
if isinstance(token, NumLit):
# TODO: Handle float literals
l = Int(token.value)
elif isinstance(token, Name):
# TODO: Handle kebab case vars
Expand Down

0 comments on commit ee66015

Please sign in to comment.