cognate
ric-script
cognate | ric-script | |
---|---|---|
5 | 8 | |
204 | 31 | |
0.5% | - | |
7.2 | 7.3 | |
5 months ago | about 1 month ago | |
C | C | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 only |
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.
cognate
-
Uiua: A minimal stack-based, array-based language
Reminds me a bit of Cognate(https://github.com/cognate-lang/cognate/blob/master/INTRODUC...)
Think I would like Uiua more if it require a space between terms. It wouldn’t be quite as tacit but it would be easier to read and more flexible — you could multi-symbol operators.
-
Two esoteric but maybe useful language ideas
Cognate happens to be a simple & readable polish-notation stack language that compiles to C.
-
Flow - a little language I've been working on
This reminds me a lot of Cognate.
-
July 2022 monthly "What are you working on?" thread
Since discovering and being inspired by Cognate, I've begun work on somewhat of a sister language called Adduce, with u/stavro-mueller-beta's blessing. It's honestly been kind of a whirlwind so far - over the course of about a week, I threw together a hacky Javascript interpreter to sketch out my ideas for the language, then rewrote it in Haskell for more permanent development. The language is currently in a mostly working state, though missing a lot of features; the biggest pain points so far have been mostly related to scoping and exception handling, since I'm implementing a dynamically typed, interpreted, mostly-procedural language in a language that is very much neither, and I'd give a tentative guess that just figuring out how to make the latter work at all took over half the development time of the Haskell version so far.
- Cognate - concatenative programming in English prose
ric-script
-
July 2022 monthly "What are you working on?" thread
Last month I worked on the language ABI (Application Binary Interface). This is where I have made an effort to make modules buildable and exportable (into dynamic shared libraries) to the language interpreter. I call the build environment for these modules the SDK (software development kit). It is a Meson project that supports not just Unix based platforms but also Windows. Before this month, one could only export functions in modules, but now one can include classes also. For me this felt very good, as I would expect of a language to support as much in the SDK as possible of the original script-language data types. Here is a link to an example module library written in C that can be compiled for export into the language interpreter: https://github.com/Ricardicus/ric-script/blob/master/src/sdk_lib/ext_lib.c
-
Building my own programming language using C
I host the source code here at GitHub. There are links to documentation and even an environment where you can test the interpreter on some samples to be found in the README. If you feel like this is an interesting C-project I'd appreciate the dopamine kick of a star over there at the github platform.
-
January 2022 monthly "What are you working on?" thread
Continued work on my interpreter for [ric-script](https://github.com/Ricardicus/ric-script) which is an interpreted dynamically typed and lazy evaluated language. Imagine Javascript without semicolon and Python without the indentation thing. I build the syntax tree using yacc. Here is a [code sample](https://ric-script-u5ep8.ondigitalocean.app/doc/syntaxwalkthrough.html#class-declarations) where I build an RPN calculator in it. I’d appreciate the dopamine kick of a star if you find the project interesting.
-
How can I support very big integers?
Thank you all! I have made it work now in my project . A sample script can be found here .
-
August 2021 monthly "What are you working on?" thread
I continuing with building my first programming language. It is an interpreted dynamically typed and lazy evaluated language. It is like a merge of python and javascript, imagine Python except the focus on indentation. I build the syntax tree using yacc. Here is a code sample where I build an RPN calculator in it. The source repository is here, I’d appreciate the dopamine kick of a star if you like it.
-
January 2021 monthly "What are you working on?" thread
I am building my first programming language. I call it ric-script. It is an interpreted dynamically typed and lazy evaluated language. It is like a merge of python and javascript. I build the syntax tree using yacc. Here is a code sample where I build an RPN calculator in it.
What are some alternatives?
cane - A small MIDI sequencer DSL designed around vectors and euclidean rhythms
kesh - A simple little programming language that could one day compile to JavaScript.
uiua - A stack-based array programming language
pen - The parallel, concurrent, and functional programming language for scalable software development
peridot - A fast functional language based on two level type theory
m42pl-core - A data manipulation language with a focus on flexibility and simplicity.
comet - Comet is a lightweight, fast programming language (remember to star and fork!)
Cwerg - The best C-like language that can be implemented in 10kLOC.
Forth-in-Charm - An implementation of Forth in the Charm scripting language.
seed7 - Source code of Seed7
hook - The Hook Programming Language
xvm - Ecstasy and XVM