TOGVM-Spec
roast
TOGVM-Spec | roast | |
---|---|---|
2 | 65 | |
0 | 177 | |
- | -0.6% | |
4.4 | 8.3 | |
9 months ago | 15 days ago | |
PHP | Raku | |
- | Artistic License 2.0 |
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.
TOGVM-Spec
-
The AST Typing Problem
Make each AST node an RDF node and then you can cram whatever information into it you want. That's the approach I've been taking with https://github.com/TOGoS/TOGVM-Spec/, anyway.
Of course, for conveniently and safely manipulating in memory in $programming_language, you're probably going to want to define some structs/ADTs/whatever that only contain the data a given compilation stage is actively working with.
I've been thinking that what I need is a system that allows me to quickly define different lower-level datatypes for representing different views of the conceptual types and automate, to some degree, translation between them, so then each part of the system can work with objects designed specifically to be processed by it with minimal fuss.
A technical reason for avoiding those specialized types might be that the computer then has to spend more time transforming from one schema to the next. I would think that in practice this isn't any worse than having to do a lot of null checks.
A more human reason is that it could bean a combinatorical explosion of AST types. I guess this is where my idea about lightweight variations comes in.
In TypeScript this kind of thing might not be so bad, since any object can be downcast with no cost to a type that contains a subset of the information, and variations on types can be easily defined without even necessarily being named, e.g. `ASTNode & HasResultType & HasSourceLocation`.
-
Six programming languages Iād like to see
As far as graph-based languages and languages with arbitrary metadata and relationships between objects are concerned, I've been mulling over a language where expressions are represented as RDF graphs and that has built-in support for manipulating RDF graphs. I've use the concepts as an intermediate representation for functional expressions in a few different systems (including Factorio's map generator), but haven't yet had the motivation to really flesh it out into a full-blown language. https://github.com/TOGoS/TOGVM-Spec
roast
-
How to Use JSON Path
The Raku programming language has, with some tweaks:
data.store.book.grep(.price < 10).map(.title)
Although personally I would write that as:
data.store.book.map: { .title if .price < 10 }
which combines the filter / map into a single operation.
https://raku.org
-
Stability
Add more IO::Path::parent tests #801: merged 2022-02-19
-
Top Paying Programming Technologies 2024
23. Raku - $79,448
- Raku
- 9999999999999999.0 ā 9999999999999998.0
-
Pakku Through Images
Pakku is a package manager for the Raku Programming Language. Latest releases of Pakku are part of Pakku Celastrina version family. Celastrina name means elegant and beutiful, So I will take the opportunity to introduce how elegant IMO Pakku handles Raku distributions.
-
Winding down
At the last European Perl Conference I proposed to change the name of "Perl 6". After a lot of discussion, it was decided that it was going to be called the Raku Programming Language.
-
UTF-8 (de)composition
Raku note: This language has no length method on strings, because in Unicode world it is super confusing. Instead there are separate methods to ask precisely about amount of characters, amount of code points and amount of bytes.
-
Raku Blog Posts 2023.28
Elizabeth Mattijsen reports on all recent developments around Rakudo, an implementation of the Raku Programming Language.
-
Help with scoping namespaces
The raku.org website.
What are some alternatives?
impulse - Impossible Dev Tools for React and Tailwind
rakudo - š¦ Rakudo ā Raku on MoarVM, JVM, and JS
dafny - Dafny is a verification-aware programming language
eioio - Effects-based direct-style IO for multicore OCaml
sdk - The Dart SDK, including the VM, dart2js, core libraries, and more.
ojg - Optimized JSON for Go
prusti-dev - A static verifier for Rust, based on the Viper verification infrastructure.
ocaml-multicore - Multicore OCaml
docs - Red-related user documentation repository
Sparrow6 - Raku Automation Framework
DataLang - Specification and refernce implementation of DataLang
MoarVM - A VM with adaptive optimization and JIT compilation, built for Rakudo