Ark
ChaiScript
Ark | ChaiScript | |
---|---|---|
17 | 7 | |
550 | 2,885 | |
2.4% | 0.4% | |
8.9 | 3.7 | |
6 days ago | 2 months ago | |
C++ | C++ | |
Mozilla Public 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.
Ark
-
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.
ChaiScript
- Using C++ as a scripting language, part 6
-
How to use C++ as the core language for a Fantasy Console?
If you want to use C++ for scripting, take a look at Jason Turner's ChaiScript
-
Enabling C/C++ compilation in an application.
3) Similiar to 2, but use more common scripting languages: chai, cs-script, sol2 (c++ framework to embed lua)
-
ArkScript, a language designed to be used in C++ projects, now has macros
A few years back I actually went and made a ChaiScript based video game engine (https://16bpp.net/blog/post/masala-a-chaiscript-game-engine/). The end goal for it was to be able to make a Pacman like clone, but have all of the game logic implemented in ChaiScript. I actually found out as I added more realtime elements (implemented in ChaiScript) that it started to take much longer to process the game logic; the "game loop FPS" was under 60, which is not good. I actually proposition that ChaiScript move to a bytecode VM (https://github.com/ChaiScript/ChaiScript/issues/266), but I'm guessing that no movement was made on that front.
- Is it advisable to embed python in c++ ? Have anyone tried it, what is the best way to do it?
-
Looking for a codegen library that uses C++ for scripting
Maybe ChaiScript? It is not exactly what you are looking for, but very similar, in my opinion.
What are some alternatives?
Peregrine - A blazing fast language for the blazing fast world(WIP)
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
hera - Hera: Ewasm virtual machine conforming to the EVMC API
V8 - The official mirror of the V8 Git repository
fake-gcs-server - Google Cloud Storage emulator & testing library.
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
Feral - Feral programming language reference implementation
squirrel - Official repository for the programming language Squirrel
boring-lang - A very boring programming language
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
zhetapi - A C++ ML and numerical analysis API, with an accompanying scripting language.
sol2 - Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation: