kuroko
bluebird
kuroko | bluebird | |
---|---|---|
11 | 11 | |
403 | 25 | |
- | - | |
8.8 | 0.0 | |
about 2 months ago | over 1 year ago | |
Python | C++ | |
MIT License | GNU Affero General Public License v3.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.
kuroko
-
Is there a way to do a C style For loop in Python ? (for i=start; i< end; i++)...
(kuroko)[https://github.com/kuroko-lang/kuroko] is basically Python, but C
-
Kuroko: Python, but scoped
Kuroko: Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
-
What is your favourite programming language? (other than Scala)
I would say Kuroko makes more sense ;-P
- GitHub - kuroko-lang/kuroko: Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
- GitHub – kuroko-lang/kuroko: Dialect of Python
-
August 2022 monthly "What are you working on?" thread
Kuroko 1.3.0 gets a release candidate. Lots of big things since 1.2.5, like optimized method invocation, more operator overloads, better support for f-string expressions (format specs, =, faster constructions), a long type with my own bigint implementation (this was the last thing I was still regularly opening Python repls for, so a huge personal win). I also fixed a bunch of little things that have been nagging me, like the compiler can now compile expressions directly, which allowed me to remove the kludge that made the repl work previously. The WASM web repl also got some love with a port of the core of Hiwire from Pyodide, giving a very straightforward interface between JS and Kuroko in a browser - and I rebuilt the web IDE on it. I've also been working on a new compiler, which will hopefully form the basis of 2.0 - and this might be the last 1.x release (though I expect at least a few 1.3.x bug fix releases).
-
Announcing: PonyOS 8
In case it's not clear, PonyOS is a joke reskin of my serious OS project, ToaruOS. PonyOS gets a new release every April 1st. All of the libraries and applications in ToaruOS are in-house things I built myself - the whole OS is "built from scratch". PonyOS adds ponysay, which is an external app originally written in Python - and in previous releases of PonyOS I shipped the Python version alongside a port of Python 3.6. This release, though, comes with a port to my own language, Kuroko, which is a dialect of Python - a lot of what went into building the PonyOS release this year was getting ponysay to work well.
-
January 2022 monthly "What are you working on?" thread
Did this year's Advent of Code in Kuroko which sussed out some bugs and missing functionality. Better hashing for tuples, more builtins and methods on standard classes for improved compatibility with Python, general build cleanups. In the later problems, most suffering was caused by the GC, so I'd like to put more thought into collection strategies going forward.
-
In search of a Python-like language potentially seen here recently
Is it me you're looking for?
- April 2021 monthly "What are you working on?" thread
bluebird
-
Asking for opinions on the best way to specify an exclusive range in a for-loop
0 upto n and 0 thru n. I think I saw it in Bluebird first and really liked it.
-
Tips for implementing an AST
Instead of the classic visitor pattern, I found it easier to create a class that basically wraps a big switch statement that switches on an enum representing the kind of expression. You pass it an expression, and based on the enum returned by its kind() function you downcast the expression into the subclass you need. The code is here for reference. My AST code is here.
-
January 2022 monthly "What are you working on?" thread
I am working some again on my Ada-like language bluebird. I am making another attempt to use MLIR as an intermediate IR between the AST and LLVM IR (I made a brief attempt a few months ago just to look into it).
-
September 2021 monthly "What are you working on?" thread
I fworked some more towards adding pointers on my Ada-like programming language bluebird. I've finished adding pointer types and variables (as well as the operators for dereferencing/getting the address of objects), but I still need to add the ability to dereference and assign.
-
July 2021 monthly "What are you working on?" thread
I started to experiment with using MLIR to write a high-level IR for my language bluebird, which will hopefully reduce the work of implementing features I want to add such as generics and ranges, as well as allowing me to eventually write some optimizations. I am also considering rewriting my AST as an MLIR dialect, since MLIR provides a bunch of type-checking/error printing/support infrastructure.
-
June 2021 monthly "What are you working on?" thread
I continued implementing support for references (a restricted form of pointers) in my Ada-like language bluebird. I also am working on adding a cleanup pass between my parser/typechecker to handle stuff like type resolution of literals and constant folding.
-
May 2021 monthly "What are you working on?" thread
I didn’t add too many new features to my Ada-like language bluebird this month because of lots of projects/school stuff.
-
LLVM’s New Pass Manager
Here is a link to my optimizer pass setup for reference. This is just a simple optimization pipeline (I think clang has a setup where optimization stages are re-run multiple times to take advantage of inlining making more optimizations possible).
-
March 2021 monthly "What are you working on?" thread
I made some more progress on bluebird, my Ada-like language.
-
February 2021 monthly "What are you working on?" thread
I continued to make progress on the compiler for my Ada-inspired language bluebird. I will have less time to spend on it as classes began earlier last month, but I still hope to continue working on it. Things are getting to the point where adding a new feature isn’t as difficult as it was when doing so often meant writing the supporting code from nothing.
What are some alternatives?
python-compiler - A Python bytecode compiler written in Python. This repository is now a fork of https://github.com/facebookincubator/python-compiler, upstream is there.
starlight - JS engine in Rust
xvm - Ecstasy and XVM
Cwerg - The best C-like language that can be implemented in 10kLOC.
delta - C* is a hybrid low-level/high-level systems programming language focused on performance and productivity.
durin - the Dependent Unboxed higher-oRder Intermediate Notation
The-Spiral-Language - Functional language with intensional polymorphism and first-class staging.
pika - A WIP little dependently-typed systems language
yasl - Bytecode Interpreter for Yet Another Scripting Language (YASL).
Matrix - Easy-to-use Scientific Computing library in/for C++ available for Linux and Windows.
aulang - simple and fast scripting language
boring-lang - A very boring programming language