Open BethAr opened 10 years ago
Hi @BethAr, the reason I started to work on this project (Koala), was because I wanted to add support for Dust. And we succeed in making Koala extensible which allows the addition of compilers, and with it the Dust Compiler.
Sadly I'm very busy these days, so I can't create a compiler for the demanded engines. But I hope you can help by creating the compilers.
For more info on how you can create a compiler to add support for a specific template engine you can check the wiki page on how to create a compiler extension.
If you need any help ask us and we'll be more than happy to help you.
Cheers
PS: A Jade compiler should be fairly easy to implement, so I'll try to find some time to do it.
I set time aside today to try to do just this, and was able to get to the final step in the walkthrough (create zip, rename to NAME.koala-compiler
), but the final step (drag/drop file on koala application) doesn't appear to do anything (it only moves the file into the directory that koala resides in). is there something I may be missing? I am using koala 2.0.2 on OS X (Mountain Lion)
@gaberankin Did you try to close and reopen Koala? if nothing happens or what should happen does not, please let us know and if you could give us the extension (dropbox or github or anything) it will help a lot in finding and solving the issue.
Cheers
Hi, i've try to build the dust compiler, on mac osx 10.8 (Koala 2.0.2) but when i drop the pakage i've a message : pakage.json not find ..
here is a link to the generated pakage, if it can help : https://www.dropbox.com/s/j1rnb7bill3ktsj/dust.koala-compiler
thanks 4 your app & work
Hi @mistergraphx , the package you made contains a folder containing the files, and the package should contain directly the files. so on a mac you need to select all the files for the extension, and then control click and select compress.
I hope this help.
Cheers
Thanks for your quick reply ! it works now, i just begin to use Node and pakages, certainly it 'll help other newbies like me ;-)
Thanks @zaygraveyard, Reading your response led me to understand that I'd completely misunderstood the instructions. I was dragging the file onto the application icon in my finder rather than dragging it into the application window. I was able to get it installed correctly, and am now testing my implementation.
Thanks again.
@mistergraphx @gaberankin Glade to help. If you're creating an extension for Koala, It would be great if you could share it with the community. And if you decide to share (or you are sharing) your extension, you can give us the link to your extension so we can add them to the list of extension on the wiki.
Thank you all for you interest in creating extensions for Koala. Cheers
Sure. Koala-Jade extension
@gaberankin Thank you for sharing. The link has been added to the wiki List of compiler extensions.
Cheers
PS. Thanks for the mention in your extension. :)
@BethAr can you try this Koala-Jade extension?
Two years after the request, I've noticed that you produced the extension. I'm very sorry for not noticing earlier, @zaygraveyard, and have no excuses to give.
Koala features no support for template engines such as Slim or Jade (or even HAML), as such it is missing one of the legs of preprocessor-based development.
Thank you.