Hi, I just started the process of determining how to convert my JAVA
runtime based grammar into the C runtime. Will I run into memory
allocation issues if I embed STL? For example, in my current grammar I
use:

 

scope RScope {

                String name;

                HashMap<String,Enum> symbols;

}

 

If I translate this to:

 

scope RScope {

                std::string name;

                std::map<std::string, int> symbols;

}

 

Is this even going to compile? And if it does, will it blow up or leak
memory?

 

The second part of my question is: Will there be a C++ runtime available
in the near future?

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to