cslarsen / cslarsen/python-simple-vm

IndexError: Unknown token NEWLINE: ''

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
119
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I guess it is caused by using mac (I'm using MacOSX High Sierra).
```
Hit CTRL+D or type "exit" to quit.
> 1 1 + println
IndexError: Unknown token NEWLINE: ''
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported REPL input `1 1 + println` on the reported macOS environment and inspect where the `NEWLINE` token is handled. Done means the command no longer raises `IndexError` and produces the expected output; the issue names no source files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.