star
gaiman
Our great sponsors
star | gaiman | |
---|---|---|
24 | 16 | |
116 | 130 | |
- | - | |
5.1 | 5.4 | |
5 months ago | 4 months ago | |
Haxe | JavaScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
star
-
Language Design: Against Mixed-cased Type Names
This is actually done by several bootstrapped languages, such as Crystal, Nim, Raku, and even my own language Star
-
Your language's favorite MINOR feature?
In Star, commas and newlines are analogous everywhere, even inside array literals. This actually solves the issue of trailing commas by not needing commas at all
-
Building a new .NET language, doing to C# what Kotlin did to Java
I really like Nemerle's OOP+FP hybrid model, and I've taken a lot of it to heart while designing my language Star, which is similar in spirit.
-
Is there a language with structural type constraints for variants and records?
It's currently a work-in-progress, mainly due to subtyping issues with generics (which I'm honestly too lazy to fix rn, focusing on other stuff first). the code is located here, although be aware that it's a bit messy lol
My language Star has this (excluding full type inference, as method signatures require type annotations for stuff), both for structural types and variants (which I don't cover in my docs, but there's an example here. Extensible variants are also supported via nominal subtyping, and they also combine the properties of sum types with product types as they can have instance fields (along with other class behaviors)
-
November 2021 monthly "What are you working on?" thread
Making lots of progress on Star's typechecker, which has been very difficult due to its expansive type system. Although still not completely finished or useable, it does at least work a bit. Currently need to implement type variable expansion/substitution, "lazy" type refinement (because I have no clue what else to call it), and some basic support for existentials
-
Initially-nullable types
I think this is referred to as partial or lazy initialization. I have this feature in my own language Star (which us null-safe), but I don't have an actual null literal for this purpose
-
Typechecking new type system features
Hello, I'm the developer of the Star programming language, and I have some questions about how to typecheck several new/uncommon features that it has, and looking for feedback on it in general.
-
Why are you building a programming language?
I'm working on Star because there are no languages that push the limits of what can be done by mixing OOP and FP ideas , features, and type systems.
-
Is Haxe good for writing compilers?
Funny you should mention it, I've actually been writing Star's base compiler in Haxe. I'm also writing my Red.js project in Haxe, although it's more of an interpreter than a compiler
gaiman
-
How to create interactive terminal like website with JavaScript?
When I was working on one paid git I’ve come up with a kind of engine that was driven by a JSON file. It was a kind of interactive game or very poor text adventure game. I’ve asked the person for whom I created this project if I can publish the game so others can use it. It was very cool. Later I came up with something even better. My own programming language that compiles into JavaScript. The project is in Beta version and I still need to work on the playground and documentation. You can check it out. Here is Gaiman’s GitHub repo. If you want to create a complex project with user interaction, it may be easier to do this with Gaiman, since it simplifies things. The same code in JavaScript will be much more complex.
- Gaiman: Programming language for text-based games in browser
-
June 2022 monthly "What are you working on?" thread
I've released the first 1.0 beta version of Gaiman. I'm doing small tweaks but it seems that all language features are there. But I need to improve code coverage so I know that everything is tested. And I need to stress test a bit my parser so I know that odd syntax combinations works.
-
How to make your own programming language in JavaScript
I've wanted to have my own programming language, that will make it easier to create text-based adventure games for my Open Source project jQuery Terminal. The idea for the language came after I've created a paid gig for one person, let's call him Ken, that needed this type of game, where the user interacted with the terminal and was asked a bunch of questions and it was like an adventure game, related to Crypo. The code I've written, that Ken needed, was data-driven by a JSON file. It was working nicely, Ken could easily change the JSON and have the game changed however he wanted. I've asked if I could share the code since it was a very cool project and Ken agreed that I can do that two months after he publish the game. But after a while, I've realized that I can have something much better. My own DSL language, that will make it simpler to create text-based adventure games. A person with a bit of programming knowledge like Ken, could easily edit the game, because the language will be much simpler than complex JavaScript code that is needed for something like this. And even if I would be asked to create a game like the one for Ken, it would be much easier and faster for me. This is how Gaiman programming language has started.
-
Ideas of defining mini parser that handle text adventure text-based input
I'm working on a language called Gaiman similar to ruby that compiles to JavaScript. The purpose of the language is to simplify creating interactive text games, first for the Web later maybe for the normal terminal. The web part is based on my jQuery Terminal library.
-
GitHub Action to clear cache on Images in README
If you want to see my whole workflow file check my repo buid.yaml file.
-
Why are you building a programming language?
The second project was a simple ruby-like syntax for creating text-based games, but I didn't work in it for a while. The plan was to make creating games using my library jQuery Terminal much simpler. The project is called Gaiman.
-
April 2021 monthly "What are you working on?" thread
It's not working yet, I've started making PEG.js grammar that will output JSON that I will interpret my simple interpreter, I've had working first version of this. But then I realize that I can just generate JavaScript code that would be more fun. So I've started refactoring the code to make it generate JS code but I din't even finished rewriting original code. You can take a look at the project if you want https://github.com/jcubic/gaiman
Source Code: https://github.com/jcubic/gaiman/blob/master/examples/demo.gs
What are some alternatives?
xvm - Ecstasy and XVM
calypso - Calypso is a mostly imperative language with some functional influences that is focused on flexibility and simplicity.
starlight - JS engine in Rust
yasl - Bytecode Interpreter for Yet Another Scripting Language (YASL).
The-Spiral-Language - Functional language with intensional polymorphism and first-class staging.
Yoakke - A collection of libraries for implementing compilers in .NET.
CSLY - a C# embeddable lexer and parser generator (.Net core)
aulang - simple and fast scripting language
konna - A fast functional language based on two level type theory
processing - Source code for the Processing Core and Development Environment (PDE)
delta - C* is a hybrid low-level/high-level systems programming language focused on performance and productivity.
smalltalk - GNU Smalltalk is an implementation of the Smalltalk language