encore
encore copied to clipboard
The Encore compiler.
One of the features of the PonyRT is that it is completely lock-free. We should not implement an unavoidable lock below user-level in the implementation of futures as we currently...
The string library should support -- or at least have an interface that can support -- strings that are backed by UTF-8 characters. Maybe that's the case already, but no...
Add support for: ``` let (x,y) = foo() in e ``` and so forth for other let variations. This should compile to something like ``` match foo() with (x,y) =>...
The following reasonable typedefs result in the type checker complaining that "type synonyms cannot be recursive". ``` typedef PQEntry[t] = (int, t) typedef Comparator[t] = (PQEntry[t], PQEntry[t]) -> bool ```...
A call from a closure to a function defined in a `where` clause produces code that cannot be compiled. For instance: ``` class Main def main() : unit fun (x:...
It doesn't seem to be possible/easy to write curried functions (in `development` 97391442c465047b226935d397fdd66f458d8484 ). I tried the following: ``` fun curry[a,b,c](f : (a,b) -> c) : a -> (b ->...
If you import a library module (say `Random`) from a file `Random` in another directory, then an error results claiming that there is a ambiguity. The compiler should check that...
Hello! I have found an odd bug. This is only tested for the `new-ponyrt` branch. Some encore programs terminate prematurely. The program doesn't crash it just exits successfully. For example...