pika
firefly-boot
pika | firefly-boot | |
---|---|---|
4 | 12 | |
35 | 48 | |
- | - | |
7.1 | 9.8 | |
about 1 month ago | 1 day ago | |
Rust | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pika
-
September 2021 monthly "What are you working on?" thread
I just switched Pika to using significant indentation. This is mostly because of how annoying line continuation is in a ML-style language (so f a b syntax) without significant indentation or required semicolons, but you can read more about the reasons for that decision in this section of the README.
-
May 2021 monthly "What are you working on?" thread
Recently, I've been working on adding garbage collection to Pika. I've successfully written an Immix-based garbage collector that works with the LLVM GC support infrastructure, and I'm currently working on integrating the GC with Pika, or really Durin, the dependently-typed intermediate representation that Pika compiles to. Because types are passed around at runtime, objects of unknown type and size can be stored unboxed in polymorphic data structures; but that makes keeping track of type information for heap allocations somewhat harder, because type information needs to be allocated and constructed at runtime in some cases. It's an interesting design problem, because you want constructing type information to be fast; but the GC will run much more often, so maximizing tracing speed by avoiding e.g. indirection in type information is important; and you also want to construct as much type information as possible at compile time and embed it as constants.
-
March 2021 monthly "What are you working on?" thread
I've been working on adding algebraic effects to Pika during the past month. It's turned out to be harder than I thought it would, but I'm almost done - performing and catching one effect at a time works, and the compilation strategy I'm using now (I reimplemented the whole thing after realizing the strategy I was using wouldn't actually work) should be enough to handle multiple effects at once and also effect polymorphism, I just have to get those working in the elaborator.
-
February 2021 monthly "What are you working on?" thread
After taking a break from Pika, my dependently-typed ML for systems programming, during the month of January, I've started working on it again by getting recursion to work properly. I'm planning on starting to implement algebraic effects next, and an Immix-based garbage collector for boxed values after that. Here's what my current plan for algebraic effects looks like:
firefly-boot
-
What's the syntax of lambda expressions in your language?
Firefly, curly braces:
-
January 2022 monthly "What are you working on?" thread
I'm still working on Firefly, a language with first class capabilities.
-
Ask HN: Who Wants to Collaborate?
Since there's no other way for `deleteDirectory` to obtain capabilities than to recieve them as arguments, `deleteDirectory` only has access to the file system.
[1] https://github.com/Ahnfelt/firefly-boot/tree/master/compiler
-
Preventing Log4j with Capabilities
> Do you have more to share, like resources about capability-safe languages, or your ongoing work?
I can share an example from the main function of the [self hosting Firefly compiler](https://github.com/Ahnfelt/firefly-boot/tree/master/compiler):
main(system: System): Unit {
-
What are some simple but powerful compile-to-JS languages I might not know about, or that you are working on (not Elm, Reason, PureScript, or ClojureScript)?
I'm working on Firefly, which will compile to JS once bootstrapping is complete (almost there).
-
June 2021 monthly "What are you working on?" thread
Still working on typechecking Firefly with the help of a friend.
-
March 2021 monthly "What are you working on?" thread
Working on the type inference for Firefly. I don't have a lot of free time at the moment, so it's coming along slowly.
-
Alternative to monads for enforcing purity?
Firefly uses object capabilities for enforcing purity:
-
Generalizing Ruby block syntax in static languages with currying
In Firefly, this is done without macros:
-
February 2021 Monthly What Are You Working On
Firefly - self hosting, working on the type inference.
What are some alternatives?
konna - A fast functional language based on two level type theory
xvm - Ecstasy and XVM
durin - the Dependent Unboxed higher-oRder Intermediate Notation
bluebird - A work-in-progess programming language modeled after Ada and C++
cubiml-demo - A simple ML-like programming language with subtyping and full type inference.
rumi - The rumi compiler
starlight - JS engine in Rust
IntercalScript - The IntercalScript programming language
c3c - Compiler for the C3 language
Matrix - Easy-to-use Scientific Computing library in/for C++ available for Linux and Windows.