rise-lang / rise Goto Github PK
View Code? Open in Web Editor NEWImplementation of the RISE language
Home Page: https://rise-lang.org
License: MIT License
Implementation of the RISE language
Home Page: https://rise-lang.org
License: MIT License
Currently we have a makeArray
primitive that works very much like an array literal, except that it works with elements that are expressions, instead of plain data like literals do. Currently we only generate code for makeArray
if indices are constant (we know which element to pick at codegen time).
Personally, I would like to solve both of these questions by removing the makeArray
primitive. Instead of plain data, normal array literals would take elements of expression kind.
Additonnaly, a selectArray
-- or differently named high-level construct -- would also allow to create arrays as a combination of generate
and select
. This would generate C code with if statements or ternaries to pick the right element. If indices are constant, we should simplify the branching away.
@rise-lang/core
TypePlaceholder
was introduced to deal with expressions instantiated to different types at call sites by delaying the creation of fresh type identifiers. It can also be used as a "placeholder" when we erase the type of expressions. With a properly implemented type identifier instantiation mechanism, TypePlaceholder
can be removed from this implementation.
Currently we don't have sufficiently good type inference error messages, and it is hard to locate the actual source of the error. Potential solutions include type inference on construction and constraint decomposition trace.
Some primitive types are currently under-constrained. Some type variables should only accept scalar types (vector primitives) or basic types (cast primitive). Ideally, type inference and type checking should deal with these constraints.
Dependent primitives and dependent types are currently not well supported. In particular, type inference needs to be properly implemented.
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.