Wow, thanks for the quick response :) This information ought to do for a start. Thanks!
I actually thought of another idea over the last hour. A python class library that buffers code into galaxy, then writes it to a MapScript.galaxy file. It's not quite what I had in mind, but I think it just might work for my little venture. It's a somewhat different principle. Rather than read python script and translate it, it directly uses python to write the file.
PS: I understand it's a lot of work, thus why I intend to do it for fun lol. Wouldn't want to arouse too much excitement in the public over something that may never get released.
I've been using python at work for quite some time now and I'm really liking the ease of use of it's syntax. Just for fun, I'd like to write a python-galaxy parser that runs as a third party tool, but I've no idea how to start. Could anyone perhaps guide me to a starting point on how I might begin writing such a parser (as a 3rd party tool)?
PS: If it works out well enough for my personal use, I will probably release it to public.
PPS: I thought about using a python file to handle the parsing as well, but I'm trying not to rely on an IDE if possible.
Procedure wise, I intend to use it in the following manner.
Written in notepad+ +, run the parser pointing to the notepad file, which outputs into MapScript.galaxy so I can import it into the map and run it directly.
@grim001: Go
I'm intrigued, are the details confidential? I'm curious to know a little about what this alternative might be
@Slarti: Go
From a quick look at the description, string template does look like what I have in mind. A code generator :) with the convenience of coding in python
@Slarti: Go
Wow, thanks for the quick response :) This information ought to do for a start. Thanks!
I actually thought of another idea over the last hour. A python class library that buffers code into galaxy, then writes it to a MapScript.galaxy file. It's not quite what I had in mind, but I think it just might work for my little venture. It's a somewhat different principle. Rather than read python script and translate it, it directly uses python to write the file.
PS: I understand it's a lot of work, thus why I intend to do it for fun lol. Wouldn't want to arouse too much excitement in the public over something that may never get released.
I've been using python at work for quite some time now and I'm really liking the ease of use of it's syntax. Just for fun, I'd like to write a python-galaxy parser that runs as a third party tool, but I've no idea how to start. Could anyone perhaps guide me to a starting point on how I might begin writing such a parser (as a 3rd party tool)?
PS: If it works out well enough for my personal use, I will probably release it to public.
PPS: I thought about using a python file to handle the parsing as well, but I'm trying not to rely on an IDE if possible.
Procedure wise, I intend to use it in the following manner.
Written in notepad+ +, run the parser pointing to the notepad file, which outputs into MapScript.galaxy so I can import it into the map and run it directly.