Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #25358 > unrolled thread

Taijilang is released: A new language which is compiled to javascript similar to coffee-script

Started bySimeon Chaos <simeon.chaos@gmail.com>
First post2014-07-14 07:50 -0700
Last post2014-07-14 20:10 -0700
Articles 8 — 5 participants

Back to article view | Back to comp.lang.javascript


Contents

  Taijilang is released: A new language which is compiled to javascript similar to coffee-script Simeon Chaos <simeon.chaos@gmail.com> - 2014-07-14 07:50 -0700
    Re: Taijilang is released: A new language which is compiled to javascript similar to coffee-script John C <rescattered@gmail.com> - 2014-07-14 08:38 -0700
      Re: Taijilang is released: A new language which is compiled to javascript similar to coffee-script "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-07-14 10:48 -0700
    Re: Taijilang is released: A new language which is compiled to javascript similar to coffee-script "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-07-14 10:40 -0700
      Re: Taijilang is released: A new language which is compiled to javascript similar to coffee-script John C <rescattered@gmail.com> - 2014-07-14 12:39 -0700
        Re: Taijilang is released: A new language which is compiled to javascript similar to coffee-script Christoph Michael Becker <cmbecker69@arcor.de> - 2014-07-14 23:28 +0200
          Re: Taijilang is released: A new language which is compiled to javascript similar to coffee-script "Mel Smith" <syntel@cox.net> - 2014-07-14 18:43 -0600
          Re: Taijilang is released: A new language which is compiled to javascript similar to coffee-script John C <rescattered@gmail.com> - 2014-07-14 20:10 -0700

#25358 — Taijilang is released: A new language which is compiled to javascript similar to coffee-script

FromSimeon Chaos <simeon.chaos@gmail.com>
Date2014-07-14 07:50 -0700
SubjectTaijilang is released: A new language which is compiled to javascript similar to coffee-script
Message-ID<22ba4dcb-2f04-4763-a824-39983cf25ca9@googlegroups.com>
Taijilang is A new language which is compiled to javascript.

Taijilang runs on node.js

Taijilang is similar to coffee-script in many aspect, e.g. runs on node.js, indent grammar, statement is treated as expression, ->, =>, @, ::, etc. But taijilang has its own features, e.g. lisp style macro, meta language, dynamic syntax etc.

Project Address: 
github:  https://www.github.com/taijiweb/taijilang

npm: https://www.npmjs.org/package/taiji

google groups: taijilang https://groups.google.com/forum/#!forum/taijilang
 
G+: taiji lang https://plus.google.com/u/0/114446069949044102399/posts/p/pub

[toc] | [next] | [standalone]


#25359

FromJohn C <rescattered@gmail.com>
Date2014-07-14 08:38 -0700
Message-ID<db50a285-ed38-4adb-9bbf-14de08b7793c@googlegroups.com>
In reply to#25358
On Monday, July 14, 2014 10:50:23 AM UTC-4, Simeon Chaos wrote:
> Taijilang is A new language which is compiled to javascript.
> 
> Taijilang runs on node.js
> 
> Taijilang is similar to coffee-script in many aspect, e.g. runs on node.js, indent grammar, statement is treated as expression, ->, =>, @, ::, etc. But taijilang has its own features, e.g. lisp style macro, meta language, dynamic syntax etc. 
> 
> Project Address: 
> 
> github:  https://www.github.com/taijiweb/taijilang
> 
> 
> npm: https://www.npmjs.org/package/taiji
>  
> google groups: taijilang https://groups.google.com/forum/#!forum/taijilang 
> 
> G+: taiji lang https://plus.google.com/u/0/114446069949044102399/posts/p/pub

Sounds interesting, and I am impressed by anyone who can create a programming language, but I am very skeptical that the following is a good idea:

"white space can change the precedence of operator" (from the github description)

Sounds like a nightmare to debug. What's wrong with parenthesis?


[toc] | [prev] | [next] | [standalone]


#25368

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2014-07-14 10:48 -0700
Message-ID<c3904522-5be5-435c-a7f7-b6b0c0d5e5f8@googlegroups.com>
In reply to#25359
On Monday, July 14, 2014 10:38:33 AM UTC-5, John C wrote:

> Sounds interesting, and I am impressed by anyone who can create a programming language, but I am very skeptical that the following is a good idea:
> 
> "white space can change the precedence of operator" (from the github description)
>
> Sounds like a nightmare to debug. What's wrong with parenthesis?

CoffeeScript is known to have a confused grammar[1][2] (among other things [3]), I have a suspicion that Taijilang does as well. I for one would like to see at least a minimal attempt at some formalism if/when the author gets around to it.

[1] http://johnbender.us/2012/11/27/math-envy-and-coffeescripts-foibles/
[2] http://johnbender.us/2013/01/09/math-envy-and-coffeescripts-foibles-2/
[3] http://lambda-the-ultimate.org/node/4885#comment-78571

[toc] | [prev] | [next] | [standalone]


#25367

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2014-07-14 10:40 -0700
Message-ID<c5eaa4f3-b83e-4a68-9dbf-b461a36de149@googlegroups.com>
In reply to#25358
On Monday, July 14, 2014 9:50:23 AM UTC-5, Simeon Chaos wrote:
> Taijilang is A new language which is compiled to javascript.

Off topic for this group, but I think you know that already...

[toc] | [prev] | [next] | [standalone]


#25369

FromJohn C <rescattered@gmail.com>
Date2014-07-14 12:39 -0700
Message-ID<64fb0524-f2a7-40b2-a359-535651e94e2e@googlegroups.com>
In reply to#25367
On Monday, July 14, 2014 1:40:17 PM UTC-4, Michael Haufe (TNO) wrote:
> On Monday, July 14, 2014 9:50:23 AM UTC-5, Simeon Chaos wrote:
> 
> > Taijilang is A new language which is compiled to javascript.
> 
> Off topic for this group, but I think you know that already...

Out of curiosity, why do you consider this off-topic? I would 
think that a tool for generating javascript is topical for 
comp.lang.javascript. A detailed discussion of the new language
would be off topic, but simply alerting javascript programmers
about a potentially useful tool seems reasonable. 

[toc] | [prev] | [next] | [standalone]


#25370

FromChristoph Michael Becker <cmbecker69@arcor.de>
Date2014-07-14 23:28 +0200
Message-ID<53c44b62$0$6664$9b4e6d93@newsspool3.arcor-online.net>
In reply to#25369
John C wrote:

> On Monday, July 14, 2014 1:40:17 PM UTC-4, Michael Haufe (TNO) wrote:
>> On Monday, July 14, 2014 9:50:23 AM UTC-5, Simeon Chaos wrote:
>>
>>> Taijilang is A new language which is compiled to javascript.
>>
>> Off topic for this group, but I think you know that already...
> 
> Out of curiosity, why do you consider this off-topic? I would 
> think that a tool for generating javascript is topical for 
> comp.lang.javascript. A detailed discussion of the new language
> would be off topic, but simply alerting javascript programmers
> about a potentially useful tool seems reasonable. 

Counterquestion: would some language implementation that compiles to C
be on topic for comp.lang.c?

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#25371

From"Mel Smith" <syntel@cox.net>
Date2014-07-14 18:43 -0600
Message-ID<c2jbqhFdh6iU1@mid.individual.net>
In reply to#25370
"Christoph Michael Becker" <cmbecker69@arcor.de> wrote in message 
news:53c44b62$0$6664$9b4e6d93@newsspool3.arcor-online.net...

> Counterquestion: would some language implementation that compiles to C
> be on topic for comp.lang.c?

    Apparently not !

    I visited comp.lang.c a year or so ago, and mentioned (maybe promoted a 
bit) my language (the Harbour language) on about two posts as a very 
suitable way to build server CGI apps.  I emphasized that Harbour compiles 
into C functions and the developer is allowed to use inline C code in his 
programs.

    My posts were *not welcomed*.  Some responses were a bit nasty.

    So, I never returned.

    btw, one of my sites serves as a download repository and link for a 
couple of modern  C  compilers.

    Anyway ...

-Mel

[toc] | [prev] | [next] | [standalone]


#25372

FromJohn C <rescattered@gmail.com>
Date2014-07-14 20:10 -0700
Message-ID<7adfed6c-eb1f-4e6f-b5ee-da801d448689@googlegroups.com>
In reply to#25370
On Monday, July 14, 2014 5:28:05 PM UTC-4, Christoph Michael Becker wrote:
> John C wrote:
> 
> > On Monday, July 14, 2014 1:40:17 PM UTC-4, Michael Haufe (TNO) wrote:
> >> On Monday, July 14, 2014 9:50:23 AM UTC-5, Simeon Chaos wrote:
> >>
> >>> Taijilang is A new language which is compiled to javascript. 
> >>
> >> Off topic for this group, but I think you know that already... 
> > 
> > Out of curiosity, why do you consider this off-topic? I would 
> > think that a tool for generating javascript is topical for 
> > comp.lang.javascript. A detailed discussion of the new language
> > would be off topic, but simply alerting javascript programmers
> 
> > about a potentially useful tool seems reasonable. 
>  
> 
> Counterquestion: would some language implementation that compiles to C
> 
> be on topic for comp.lang.c?
> 
> -- 
> 
> Christoph M. Becker

Good question. I would say that it depends. If C were simply the target of
the compiler but the language itself had nothing to do with C, then no -- it 
probably wouldn't be on topic (though various technical questions related to 
the C end of the process would be on topic). On the other hand, if the language
was constructed explicitly to interact with C (e.g. being able to write functions which can be easily called from C programs)then I would say that, 
yes, it could be on topic (especially just a simple announcement of the 
creation of a new tool which might be of interest to people reading the 
newsgroup). In the case of this "Taijilang", the github site explicitly 
mentions the ability to work with Node.js, so I took it that it was intended
to be part of the broader JavaScript ecosystem rather then an outright
replacement. 

I think that one of the more interesting trends in the last 15 years or so is
the rise of polygot programming (e.g. dot net or the various languages like Clojure that target the Java Virtual Machine). In the last few years it seems 
that there is a move towards doing something similar in the JavaScript world.
It is clearly part of being a well-rounded Java programmer to at least be aware
of things such as Clojure. Similarly, a JavaScript programmer should at least be aware of things like CoffeeScript.  

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web