Difference between revisions of "This is not JavaScript"
From triplescripts.org wiki
Views
Namespaces
(Smalltalk where possible) |
(mention semantic difference to contrast with syntactic acceptability) |
||
Line 1: | Line 1: | ||
− | The triple script dialect superficially resembles JS. In fact, the dialect is specifically crafted so that the output of the trplkt compiler passes as syntactically valid by any compliant ECMA-262 parser. |
+ | The triple script dialect superficially resembles JS. In fact, the dialect is specifically crafted so that the output of the trplkt compiler passes as syntactically valid (even if not semantically coherent) by any compliant ECMA-262 parser. |
But let it be a mantra for the work of the triplescripts.org group: '''This is not JavaScript'''. |
But let it be a mantra for the work of the triplescripts.org group: '''This is not JavaScript'''. |
Latest revision as of 18:54, 17 December 2020
The triple script dialect superficially resembles JS. In fact, the dialect is specifically crafted so that the output of the trplkt compiler passes as syntactically valid (even if not semantically coherent) by any compliant ECMA-262 parser.
But let it be a mantra for the work of the triplescripts.org group: This is not JavaScript.
Although superficially resembling JS for the reasons described, the triple script dialect is most strongly inspired by the pragmatics of Go while attempting to retain the gestalt of Smalltalk where possible.