-
Notifications
You must be signed in to change notification settings - Fork 3
Interpreter code's error
There are several error messages for each type of errors in user defined code.
You wrote more than 255 characters per line.
Reduce the characters to 255 or less per line.
Your code exceeded 2000 lines (at the time of ver1.0).
Reduce the number of lines of your code.
String literal in your code isn't closed by "
properly.
Close string literal with "
like "this is string"
.
Lexical analyzer failed to identify obtained token to any kind. Maybe some unsupported characters like multi-byte characters exist at your code.
Remove multi-byte characters or any unsupported characters from your code.
Most likely cause is incorrespondence of parenthesis like var ary1[10)
, func sbrtn1(a, b]
.
Fix syntax error of your code.
break
sentence is used at out of proper scope (for
or while
).
Put break
sentence correctly.
return
sentence is used at out of func
scope.
Put break
sentence inside func
scope.
Probably you put some sentences incorrectly with in the same line. For example, following code:
var a = 1000
if if a == 1000
a = 2000
end
has multiple if
sentence incorrectly within the same line.
Put the sentence correctly.
main()
function calling is described at your code. main()
function can be called only by BI-SGX interpreter internally.
Do not call main()
function in your code.
You defined some variable implicitly, though you use "var"
option.
Define variable explicitly with var
sentence like var a, b
.
You designated unsupported option with option
sentence. Currently only var
option is supported.
Remove unsupported option designation.
The name of declared variable by var
is conflicted with reserved word or is numeral.
Declare appropriate variable name.
(TBD)