BNFC / bnfc

BNF Converter
http://bnfc.digitalgrammars.com/
586 stars 165 forks source link

[C#] position tokens don't work #99

Closed ikeyan closed 4 years ago

ikeyan commented 10 years ago

in t.cf:

position token T letter+; ...

out dot.l:

...

{alpha}+ if(Trace) System.Console.Error.WriteLine(yytext); yylval.identity_ = new dot.Absyn.Identity(yytext); return (int)Tokens.SYMB_12; ...

error msg::

error CS1729: 't.Absyn.T' does not contain a constructor that takes 1 arguments.

gdetrez commented 10 years ago

Hi. Sorry it took so long to get back to you. The C# backend is actually in need of a maintainer as the students who wrote it have left and there is no one around with C# experience. I managed to get the makefile to work but I get the same error as you do...

andreasabel commented 4 years ago

The C# backend will be removed in BNFC 2.9.