A simple functional web client language
choeger / sl2 Goto Github PK
View Code? Open in Web Editor NEWA simple functional web client language
License: Other
A simple functional web client language
License: Other
SL allows the user to reference SL values in quoted JavaScript code by prefixing the value's name with a '$' character. At the moment, the user can refer to any SL name and the compiler does not take scoping or even existence of the value into account.
It is desirable, that the compiler checks if all SL names referenced in a JavaScript quote exist and are visible in the current scope.
At the moment, quoted JavaScript code is used in a raw fashion by the back-end, i.e., the compiler performs no checks on the code supplied by the user and all syntactic errors occur at run time.
It is desirable to hint on such errors at compile time of the SL program. To do so, the compiler should perform syntax and well-formedness checks on the quoted JavaScript code.
JavaScript quotes can be annotated with an invalid type, e.g., a not fully applied constructor type or even a type which does not exist in the current scope.
For example, the following program is considered correct as part of the compilers context analysis phase, even though there is no type Foo
:
DEF foo = {| console.log("FooBar") |} : DOM Foo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.