Ark
ArkScript is a small, fast, functional and scripting language for C++ projects (by ArkScript-lang)
bluebird
A work-in-progess programming language modeled after Ada and C++ (by csb6)
Ark | bluebird | |
---|---|---|
17 | 11 | |
561 | 25 | |
2.3% | - | |
8.9 | 0.0 | |
8 days ago | over 1 year ago | |
C++ | C++ | |
Mozilla Public License 2.0 | GNU Affero General Public License v3.0 |
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.
Ark
Posts with mentions or reviews of Ark.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-23.
-
Dealing with documentation
This results in two websites: - the documentation of the language on the "main" website, https://arkscript-lang.dev ; - the technical documentation (+ modules) on doxygen: https://arkscript-lang.dev/impl/
-
November 2022 monthly "What are you working on?" thread
1: https://github.com/ArkScript-lang/Ark 2: https://github.com/AFLplusplus/AFLplusplus
-
Making your project available through Homebrew
# Documentation: https://docs.brew.sh/Formula-Cookbook # https://rubydoc.brew.sh/Formula # PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! class ArkscriptAT330 < Formula desc "" homepage "" license "" head "https://github.com/ArkScript-lang/Ark.git" depends_on "cmake" => :build def install # ENV.deparallelize # if your formula fails when building in parallel system "cmake", "-S", ".", "-B", "build", *std_cmake_args system "cmake", "--build", "build" system "cmake", "--install", "build" end test do # `test do` will create, run in and delete a temporary directory. # # This test will fail and we won't accept that! For Homebrew/homebrew-core # this will need to be a test that verifies the functionality of the # software. Run the test with `brew test [email protected]`. Options passed # to `brew install` such as `--HEAD` also need to be provided to `brew test`. # # The installed folder is not in the path, so use the entire path to any # executables being tested: `system "#{bin}/program", "do", "something"`. system "false" end end
-
Understanding tail-call optimization
Lately, I've been working on optimizations for my language, ArkScript, and finally take some time to add tail-call optimization to my compiler.
-
Solving the stack problem
A nice and bigger example would be this one, a snake game: https://github.com/ArkScript-lang/Ark/blob/dev/examples/games/snake/snake.ark
- Contributed to some OSSs with pull-requests in this year too.
-
July 2021 monthly "What are you working on?" thread
Still working on ArkScript after releasing the 3.1.0, improving the standard library, adding modules, and working on performance improvements + adding parallel builtins soon!
- ArkScript 3.1.0 is here with macro and UTF-8 support
- ArkScript 3.1.0 is here with macros and UTF-8
-
GitHub actions are awesome
Until recently, when we wanted to create new releases for ArkScript, we had to build the language on all the system we support (currently Windows and Linux), build the modules (http, console, random, etc), test everything on each operating system, and then package the needed files and directory in ZIPs. We had to go to GitHub, create a new release, add the correct tag (and not mix it with the title as they are different things!), grep the latest changelog, and add our artifacts.
bluebird
Posts with mentions or reviews of bluebird.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-01.
-
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?
When comparing Ark and bluebird you can also consider the following projects:
Peregrine - A blazing fast language for the blazing fast world(WIP)
starlight - JS engine in Rust
hera - Hera: Ewasm virtual machine conforming to the EVMC API
Cwerg - The best C-like language that can be implemented in 10kLOC.
fake-gcs-server - Google Cloud Storage emulator & testing library.
durin - the Dependent Unboxed higher-oRder Intermediate Notation
Feral - Feral programming language reference implementation
pika - A WIP little dependently-typed systems language
boring-lang - A very boring programming language
Matrix - Easy-to-use Scientific Computing library in/for C++ available for Linux and Windows.
zhetapi - A C++ ML and numerical analysis API, with an accompanying scripting language.