Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 2.09 KB

ISSUES.md

File metadata and controls

12 lines (12 loc) · 2.09 KB

Not working expressions

new Random().Next(); - call methods after operator 'new'. Right version - var Random rnd; rnd = new Random(); rnd.Next(); var a = 0; - havent automatic type casting, and we cant assign value in variables definition. Right version - var Int32 a; a = 0; Math.Pow(3, 3).ToString(); - we cannot call methods from methods. Right version - var Single p; p = Math.Pow(3, 3); p.ToString();

Not working constuctions

On this moment You cannot create classes (typealiases, interfaces, structures), functions (funcaliases), fields (not local variables). On this moment You cannot use loops, switch-case and blocks {} and arrays []. And on this moment language havent operator priority - it means that 2 + 2 * 2 in this language will equals 8. Not working repeatable tokens in statements of operators (ifs, loops and other). import std; if (a > 1) System.Console.WriteLine("a greater then 1"); - this code will not working becouse of this bug with repeatable token. Also I dont know why but in these statements (in ifs and other) work only one operator. For example this code - if (a % 2 == 0) //something will not work becouse here two operators - % and ==. Dont working assigment in the body of operators (ifs, loops and other). On this moment if you write this code b = a; where a and b are variables with one type will throws ArgumentException but I dont know why.

Other bugs

All parser bugs will be there are -> https://github.com/mino-lang/Tangara/issues. All generator bugs will be there are -> https://github.com/mino-lang/TokensBuilder.NET/issues. Other common bugs will be there are -> https://github.com/mino-lang/Mino/issues.

If you found bug with parser - create new issue in repository with parser. If you found bug with generator - create new issue in repository with generator. If you found bug and you dont know where was bug - create new issue in repository with compiler (this repository).