nand2tetris / web-ide

A web-based IDE for https://nand2tetris.org
https://nand2tetris.github.io/web-ide
Other
60 stars 16 forks source link

[bug]: Symbol error #434

Closed happytomatoe closed 3 days ago

happytomatoe commented 3 weeks ago

Tool

None

Interface

Website (https://nand2tetris.github.io/web-ide)

Contact Details

No response

What happened?

When I try to use assembler for line @:R2 I get an error Line 1: expected ".", a digit, "$", "_", or a letter while old java software compiles this with not issues. Was there a change in specification? If it is so would be so kind could you forward to me a new specification?

Additional Comments

No response

Do you want to try to fix this bug?

Code of Conduct

happytomatoe commented 3 weeks ago

Is wiki page correct?

Hack assembly language allows the use of alphanumeric symbols for number of different specific purposes. A symbol may be any sequence of alphabetic (upper and lower case) or numeric digits. Symbols may also contain any of the following characters: under bar (“_”), period(“.”), dollar sign (“$”), and colon (“:”). Symbols may not begin with a digit character. Symbols are case sensitive.