Warning: Undefined array key 2 in
/home/feupptspecs/public_html/wiki/inc/html.php on line
1453
Warning: Undefined array key -1 in
/home/feupptspecs/public_html/wiki/inc/html.php on line
1458
Differences
This shows you the differences between two versions of the page.
|
|
doc:lara:intro [2022/01/15 19:47] jbispo created |
doc:lara:intro [2022/01/15 20:02] (current) jbispo [Introduction to LARA scripts] |
====== Introduction to LARA scripts ====== | ====== Introduction to LARA scripts ====== |
| |
The LARA language is JavaScript (plain JavaScript is valid LARA code) extended with custom syntax oriented for source code analysis and transformation. | LARA scripts can either be plain JavaScript files with the latest EcmaScript syntax (.js files) or EcmaScript 5 (2009) extended with special constructs (.lara files). Currently the LARA framework supports EcmaScript 2021 for JS files. |
| |
Recently LARA has been moving away from language-specific constructs (e.g., select, apply) in favor of JavaScript-based APIs (e.g., weaver.Query). | LARA scripts have been moving away from special constructs (e.g., select, apply) in favor of JavaScript-based APIs (e.g., weaver.Query). |
| |
==== Aspects ==== | ==== Aspects ==== |