ANTLR dynamic variable assignment
0 posts in topic
Flat View  Flat View

Posted By:   Chris_Baldock
Posted On:   Wednesday, January 28, 2009 01:02 PM


Im creating a scripting language which uses ANTLR to translate into Java. Currently I need to offer the functionality to assign integers, booleans and strings to variables but if possible without requiring the user to explicitly use types.

i.e. $animal = "dog"; instead of String animal = "dog";

I guess im looking for similar functionality to perl. is this dynamic variable assignment possible using ANTLR?

Many thanks


About | Sitemap | Contact