1-10 of 39 < Previous Next >
3 votes

parser confusion with minus tokens

The parser is breaking when the source code contains the following: ----------------------------------------------------------------------- class c { int run() { return -10 - -2; ...

id# 12724 | Planned Release: None | Last Updated: Jun 29 at 9:50 AM  by nesteruk
1 vote

Enums are handled like casts

Case statements where enums are used in the form of MyEnum.A will crash the parser with an exception: System.InvalidOperationException was unhandled Message="Stack empty." Source="System" St...

id# 16956 | Planned Release: None | Last Updated: Jun 6 at 9:33 PM  by RobUrsem
1 vote

newest version does not like #region

using the newest version from the source code tab it does not seem to like regions. Try parsing the Parser.cs. problem seems to be in the Lex method of Lexer.cs in the identifiers and keywords reg...

id# 15773 | Planned Release: None | Last Updated: Mar 24 at 4:38 PM  by ChrisParkinson
1 vote

Create a generator

My personal goal is to use this to target microprocessors (like the SX chip, or more generally Pics). In any case it would be nice to attach some sort of generator to this - maybe there is an IL wr...

id# 7142 | Planned Release: 1.0 Production | Last Updated: Mar 20 at 5:09 AM  by AdamStevenson
1 vote

Lexer crashes when trying to tokenize '\0'

When attempting to tokenize the NUL character escape sequence the lexer crashes. This is because the case block for the NUL checks the second character against the integer 0 rather than the charac...

id# 15686 | Planned Release: None | Last Updated: Mar 18 at 5:03 AM  by davec
1 vote

Doesn't handle properties properly

In the attached file, public int Test2 { get { return 0; } set { _i = value; } } After parsing, only the Getter property is set, with Kind == "set". Line 1126 (in release 0.5) should re...

id# 12774 | Planned Release: None | Last Updated: Jan 7 at 5:52 PM  by mkroll
1 vote

Parser.cs deadlock

Hello, I'm trying to parse a specific file, which I'm attaching, but the parser seems to hang at line 1029 of Parser.cs file, entering an infinite loop.

id# 11724 | Planned Release: None | Last Updated: Jan 7 at 4:47 PM  by mkroll
1 vote

Opposite order of local declarations

The code class testx2 { void test() { int x = 0, y = x; } } is translated to class testx2 { void test() { int y = x; int x = 0; } } because Par...

id# 14491 | Planned Release: None | Last Updated: Dec 20 2007 at 4:23 PM  by mkroll
2 votes

Semi Cast: Stack empty exception

Hello, consider please the following code snippet: namespace MyNamespace { public class MyClass { private void MyFunc() { int i = 0; (i).ToString(); } } } Because o...

id# 14478 | Planned Release: None | Last Updated: Dec 20 2007 at 2:46 PM  by mkroll
1 vote

Character escape sequences are not parsed correctly resulting in a crash

Letting the parser parse case (int) '\"': leads to an exception in CharPrimitive as this is translated to "\\\"\\\"" which is neither a char nor the verbatim version of '\"' which would be "\"\""...

id# 14429 | Planned Release: None | Last Updated: Dec 17 2007 at 6:25 PM  by mkroll

Configure View

Search
Sort by Id
Release
Title
Updated
Votes
1-10 of 39 < Previous 1 2 3 4 Next >
Updating...