Closed 715yeung closed 2 years ago
Hi @715yeung , thanks for reporting this!
I think the immediate problem is that this error message isn't very good:
Unexpected '' at the top level
There appears to be some kind of unexpected character at the beginning of the file you're attempting to play, however, the error message doesn't really say what character it is. I think it's some kind of character that doesn't have a visual representation.
I would have guessed that it's a control character of some kind, but we do check for control characters and print the code point, and that's not what's happening here. So, it must be some other kind of unexpected character. Maybe a Unicode character of some kind?
If you could attach the file you're trying to play to this issue, that would be helpful to me in debugging this issue.
Hi @daveyarwood Thanks for your advice, I follow your suggestion and use the notepad++ change the encoding from uft-8 BOM to uft-8 , then its work so i thought it should be the encoding problem Thanks very much for your help and hope the result can help
🐞 Bug report 🐞
Description
I tried to play alda file at window system , and that's not work ,even i use the file from the example
alda play -c "..."
is work , can play some suffalda repl
is work too and i use the jdk from eclipse foundation version are 16.0.2.7Steps to Reproduce
1. 2. 3. 4.
Expected Behavior
Actual Behavior
Environment
Operating system and version:
Alda version:
Health check:
Logs: