![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 8-January 13 Member No.: 6,550 ![]() |
Hi there,
Please excuse me if this is an absolute noob question, but I've set up a C# project using the ANTLR language module as references and I'm a bit stuck on how to proceed. What I would like to know is if its possible to load an Unrealscript class file and use the lexer and parser to find all members of that class? E.g. suppose the Unrealscript class is as follows: CODE class Test extends Actor; var public float MyFloat; var public float MyInt; function Function1() { } function Function2() { } defaultproperties { MyFloat=12.0f MyInt=1 } How would I go about it in C# to get a list of the variables and a list of the functions contained in this class? The reason for this is that I want to write a C# tool that generates Unrealscript code for save and load functionality. I hope I've managed to explain my question well enough. Best Regards and thanks for NFringe, it's really helped a lot. staticvoidlol |
|
|
![]()
Post
#2
|
|
Pixel Mine Developer ![]() Group: Pixel Mine Posts: 364 Joined: 29-May 08 Member No.: 1,453 ![]() |
Hi there, Please excuse me if this is an absolute noob question, but I've set up a C# project using the ANTLR language module as references and I'm a bit stuck on how to proceed. What I would like to know is if its possible to load an Unrealscript class file and use the lexer and parser to find all members of that class? The ANTLR language module is an independent product. It provides an editor for people creating their own lexer and parser grammars (generally not for UnrealScript), and that's about all. Sam |
|
|
![]()
Post
#3
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 8-January 13 Member No.: 6,550 ![]() |
Hi there, Please excuse me if this is an absolute noob question, but I've set up a C# project using the ANTLR language module as references and I'm a bit stuck on how to proceed. What I would like to know is if its possible to load an Unrealscript class file and use the lexer and parser to find all members of that class? The ANTLR language module is an independent product. It provides an editor for people creating their own lexer and parser grammars (generally not for UnrealScript), and that's about all. Sam Ah ok I get it. Thanks for the response. |
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 24th January 2021 - 12:55 AM |