[ANN] - purnam "0.0.10" - angular.js language extensions

186 views
Skip to first unread message

zcaudate

unread,
May 12, 2013, 7:58:00 PM5/12/13
to clo...@googlegroups.com
I had a vague description for purnam 0.0.9:

Its the same code with a different read me... 


Excerpt:

#### Features
Purnam has three main components:

1. Angular Language Extensions
2. Jasmin Language Extensions for TDD with Karma
3. Clojurescript Language Extensions (which the previous two are built upon)

#### Why not use lispyscript/coffeescript/clang?
I like each of the languages for their own features:

   - coffeescript for its succinctness
   - lispyscript for its syntax and macros
   - clang for its sheer brilliance and audacity

However, in using each language I did find some weaknesses

   - coffeescript and its ambiguous syntax that changes meaning with whitespace
   - lispyscript is too new for me and not widely adopted
   - clang is to ambitious in what it is trying to do (make angular work with clojure) and I think there are definite performance implications in doing so.

The goal of this project is to provide opt-in language extensions for clojurescript to have the same sort of succintness when working with angular and all other javascript libraries.

Murtaza Husain

unread,
May 18, 2013, 12:54:55 AM5/18/13
to clo...@googlegroups.com
Hi,

Thanks for the project , the language extensions are fantastic !

One of the problems I have had in working with cljs is the compatibility and awkward syntax in working with external js libs. This goes a long long way in resolving it. 

Thanks,
Murtaza

Hoàng Minh Thắng

unread,
May 29, 2013, 1:48:03 AM5/29/13
to clo...@googlegroups.com


On Saturday, May 18, 2013 11:54:55 AM UTC+7, Murtaza Husain wrote:
Hi,

Thanks for the project , the language extensions are fantastic !

One of the problems I have had in working with cljs is the compatibility and awkward syntax in working with external js libs. This goes a long long way in resolving it.
You can give ChlorineJS a try:
http://plnkr.co/edit/gist:5469561?p=preview
In fact, my motivation for ChlorineJs was to work seamless with AngularJS. More about the language:
https://github.com/chlorinejs/chlorine/wiki

Hoàng Minh Thắng

unread,
May 29, 2013, 1:51:51 AM5/29/13
to clo...@googlegroups.com

You can give ChlorineJS a try:
http://plnkr.co/edit/gist:5469561?p=preview
Please note there's currently a bug with Plunker and some versions of Firefox so in the mean time you should check it with other browsers.

zcaudate

unread,
May 29, 2013, 2:45:56 AM5/29/13
to clo...@googlegroups.com
oh cool!

did you write your own compiler?

Hoàng Minh Thắng

unread,
May 29, 2013, 3:42:38 AM5/29/13
to clo...@googlegroups.com
On Tue, 28 May 2013 23:45:56 -0700 (PDT)
zcaudate <z...@caudate.me> wrote:

> oh cool!
>
> did you write your own compiler?
>
well, it's a fork from Ram Krishnan's clojurejs with more practical
stuff. The compiler (named Chloric) is distributed via nodejs NPM, but
it's written in Clojure so don't be lied :)
signature.asc
Reply all
Reply to author
Forward
0 new messages