objeck / objeck-lang

Objeck is a modern object-oriented programming language with functional features tailored for machine learning. It emphasizes expression, simplicity, portability, and scalability. The programming environment consists of a compiler, virtual machine, REPL shell, and command line debugger with IDE plugins.
https://objeck.org
Other
157 stars 11 forks source link

Invalid escape sequence crashes compiler #500

Closed objeck closed 2 months ago

objeck commented 3 months ago

The following example crashed the compiler.

class Test {
    function : Main(args : System.String[]) ~ Nil {
        "</ul>"->PrintLine();
        "<\u>"->PrintLine();
    }
}
objeck commented 3 months ago

Issue fixed in commit 3955c4f40a8762e5800912d5d8fbda871efbc70d