Glide
Glide programming language (by dibsonthis)
schmu
A WIP programming language inspired by ML and powered by LLVM (by tjammer)
Glide | schmu | |
---|---|---|
13 | 3 | |
2 | 24 | |
- | - | |
10.0 | 9.5 | |
over 1 year ago | 15 days ago | |
C++ | OCaml | |
GNU General Public License v3.0 only | European Union Public License 1.2 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Glide
Posts with mentions or reviews of Glide.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-31.
-
How do you deal with lack of motivation?
I've added the code to the repo: https://github.com/dibsonthis/Glide/blob/main/imports/csv.gl
-
Glide - code now on Github
So for the past few months, I've been working on my data transformation language Glide. It started off as a simple toy PL that aimed to do some basic data transformation through piping. But as time went on, more and more features were added and the implementation became more complex.
-
Glide and its type system
I'm about 70% through writing Glide's new type system. Here are some examples:
-
List comprehension syntax
Hey all, I'd like to hear your opinions on Glide's list comprehension syntax:
-
My new type system caught a bug in my own standard library that would have ruined someone's day at runtime
I was hesitant to spend time building a proper type system originally, but I'm so glad I decided to do it. Having a typing stage in the pipeline has made my language (Glide) feel so much closer to a real language than the toy language I've always seen it as.
-
Implemented a compile time type system for Glide
Just finished the core implementation of a compile time type system for my language Glide.
-
Glide + wiki documentation
Link to documentation: https://github.com/dibsonthis/Glide/wiki
-
Readability vs. Performance
I'm working on building out the csv module in my language Glide and I'm at a bit of a crossroads. I initially envisioned the csv module to build a list of objects out of the data and the user manipulates those objects directly and then can serialise them back to csv. However, I've also come up with a different solution that doesn't involve objects, but only flat lists.
-
Best use of time: Building a Static type system in the compiler or a Dynamic type system in the language?
My language Glide is currently dynamically typed, however I've been trying to build some sort of type system for it. I chose to go with a dynamic type system because I felt it would be a lot easier to get going, and can be written directly in the language. But I've also noticed that I could be using this time and effort on implementing a "real" static type system in the compiler itself. But I'm unsure which direction I want to take.
-
How do you determine what goes into the standard library?
So I've noticed the more code I write in my language (Glide), the bigger my "standard library" gets. And by standard library, I mean a bunch of different files that contain really handy functions, i.e list functions like map, filter, reduce and string functions like to_chars, split etc.
schmu
Posts with mentions or reviews of schmu.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-03.
-
November 2022 monthly "What are you working on?" thread
Since the last time I posted, I finished implementing pattern matching for schmu. To make matching on multiple columns less confusing I also added a tuple syntax to the language (finally), which are treated as anonymous records in codegen. Since then, I'm trying to overhaul my memory management, as my RAII-like solution only worked for linear code. In my first big departure from OCaml semantics, I decided to implement mutable value semantics. The paper linked in the Val language introduction makes a strong case for value semantics and after watching a couple of talks by Dave Abrahams, I wanted to try see how it feels. By making mutability be transitive and explicit, it also fixes one of the (few) gripes I have with OCaml that an array can never be really const as it is a reference type (it's possible to enforce constness with modules, but that's not exactly lightweight, syntax wise). Implementing mutable value semantics was pretty straight forward on the typing side, but I'm still not completely done with the codegen. This is due to 1. Assumptions about immutability I made in a lot of places are now wrong, and I had to completely change the way I pass values to functions. 2. I had to implement reference counted arrays, which was more work than I thought it would be. There are still edge-cases coming up in testing from time to time. Yesterday I finally managed it work for tail recursion, yay! I'm looking forward to getting rid of unneeded reference count updates in the future, by moving them to compile time, at least for linear code, lobster style. That's also an excuse to read that Perceus paper again. For the rest of November, I want to enhance my module system a bit. In particular, I want to add signatures and allow locally abstract types. I hope to have this in place before December to do the Advent of Code in my language.
-
September 2022 monthly "What are you working on?" thread
I'm still working on my toy language schmu, an ML-inspired language which uses LLVM as backend.
-
May 2022 monthly "What are you working on?" thread
I spent the time off over the Easter break to write the first program in my language which is not an explicit test and ended up implementing Ray Tracing In One Weekend. It was very rewarding to see how usable the language is already.
What are some alternatives?
When comparing Glide and schmu you can also consider the following projects:
jevkalk - A Jevko-based interpreter.
Forscape - Scientific computing language
motorway-lang - An esoteric programming language based on the British motorway network
vult - Vult is a transcompiler well suited to write high-performance DSP code
parsejevko.js - [DEPRECATED] Deprecated in favor of https://github.com/jevko/jevko.js
GLhf - OpenGL Application Abstraction
Cwerg - The best C-like language that can be implemented in 10kLOC.
peridot - A fast functional language based on two level type theory
ocaml - The core OCaml system: compilers, runtime system, base libraries
awesome-low-level-programming-languages - A curated list of low level programming languages (i.e. suitable for OS and game programming)
utena