When comparing Parenscript vs PharoJS, the Slant community recommends PharoJS for most people. In the question“What are the best languages that compile to JavaScript? ” PharoJS is ranked 13th while Parenscript is ranked 35th. The most important reason people chose PharoJS is:
For people who enjoy programming in Smalltalk, Pharo allows developers to use Smalltalk for web development as well, since it transpiles Smalltalk code to JavaScript.
Ranked in these QuestionsQuestion Ranking
Pros
Pro It is Common Lisp
Lisps are easy languages to learn (once you get past the parens) and Common Lisp is a very practical dialect.
Pro Run almost identically on both the browser and server
Parenscript code can run almost identically on both the browser (as JavaScript) and server (as Common Lisp).
Pro Program the web in Smalltalk
For people who enjoy programming in Smalltalk, Pharo allows developers to use Smalltalk for web development as well, since it transpiles Smalltalk code to JavaScript.
Pro Support for Phonegap to go directly to iOS/Android mobile App
Pro Compiles to very efficient Javascript, with almost perfect Smalltalk semantics
Pro Great IDE support
Pro Seamless integration with JavaScript libraries
Can directly call to / be called from JavaScript and can use foreign JavaScript objects.
Will soon have ability to generate and use AMD modules.
Cons
Con The syntax may be hard to learn
Being an implementation of Lisp, Parenscript's syntax may seem cryptic and hard to understand for people not used to it. While Lisp has very little syntax compared to other languages and it's generally considered pretty terse, there's still an initial overhead in learning the language.