smad2005 / PoeHud

An application to display data read from application memory (without writing to it) ^.^
1 stars 0 forks source link

Antlr4 updating #29

Closed H4vC closed 7 years ago

H4vC commented 7 years ago

Yo I haven't been around for a long time and I haven't a clue how to deal with antlr but poe filter parsing is broken and I was wondering if you'd have time explaining really quick how to do antlr4

smad2005 commented 7 years ago

Yo You can look:

I'm not sure, but maybe cs generation from antlr still not working in VS2015 ( http://stackoverflow.com/questions/35973460/visual-studio-2015-c-sharp-antlr ) and only work on VS2013 with .net4.5

For testing grammar there some tools http://www.antlr.org/tools.html i used ANTLRWorks 2.

H4vC commented 7 years ago

Thanks a bunch mate.

Cheers.

H4vC commented 7 years ago

Yeah I can't seem to get it to work with neither VS2015 nor 2013 having followed the instructions on antler4's github. Would you mind taking a jab at it at some point ? Thanks a bunch we're over at https://github.com/TehCheat/PoEHUD/ .

smad2005 commented 7 years ago

I think @i2um1 will fix it

i2um1 commented 7 years ago

Let's see what can I do.

smad2005 commented 7 years ago

poe filter parsing is broken

@H4vC can you attach a file that doesn't work?

i2um1 commented 7 years ago

Show Corrupted True

H4vC commented 7 years ago

Corrupted and Identified are the two new keywords that the antlr grammar file doesn't handle. They are both either true or false.

smad2005 commented 7 years ago

@H4vC fixed, https://github.com/smad2005/PoeFilterParser/commits/master Even added small tests for these files https://github.com/smad2005/PoeFilterParser/tree/master/Tests/PoeFilterParser.NUnit.IntegrationTests/Filters

H4vC commented 7 years ago

thanks a bunch mate, I'll go try it out.