This project looks very similar to GSL <https://github.com/imatix/gsl>, which generates source code in multiple programming languages.
On Wednesday, January 16, 2013 at 2:23:37 PM UTC-5, Nate Finch wrote: > > https://github.com/natefinch/gocog > > ....of course, right now it only supports Go as a generating language, but > my next task is to extend it to support whatever language you want (so long > as you can run the code through a command line call). It's a work in > progress, only basic functionality exists right now, and there's no unit > tests (boo!), but I was excited to get it to a workable alpha stage. > > Gocog is based off the idea of Ned Batchelder's cog.py > <http://nedbatchelder.com/code/cog/> (which he developed while we were > working together at a now-defunct startup), I wanted something that would > be language agnostic, and able to run without any predefined frameworks in > place. Of course, Go is the perfect language for this, since it creates a > native executable. > > Now, you obviously need to have the framework installed that runs the > generator code, but gocog itself has no such requirements, which means that > if you're a python programmer, you can run it with only python installed, > or only ruby, etc. > > One nice thing about using Go to create gocog - it was trivial to turn it > into a concurrent command that'll run on every file you specify > simultaneously, which can greatly speed up generation times for large > numbers of files. > > I'm still new to Go, so if anything jumps out at you as needing fixing, > let me know. > > I welcome your thoughts and criticisms. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.