Parsing C# Script into Java
        Posted  
        
            by 
                pantaryl
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by pantaryl
        
        
        
        Published on 2012-07-04T19:59:13Z
        Indexed on 
            2012/07/04
            21:15 UTC
        
        
        Read the original article
        Hit count: 202
        
I'm looking for a way to easily read in a C# file and place it into a Java Object for database storage (storing the class name, functions, variables, etc).
I'm making a Hierarchical State Machine AI Building Tool for a game I'm creating and need to be able to import an existing C# file and store it in a database for retrieval in the future.
Does anyone know of any preexisting libraries for parsing C# files? Something similar to JavaParser?
Thanks everyone!
EDIT: This needs to be part of my Java Project. I'll be loading in the C# files through my Java Application and saving it into my db4o database.
© Stack Overflow or respective owner