Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

ArkScript is an open source programming language created in 2019 by Alexandre Plateau and Pierre Pharel and Natendrtfm.

#409on PLDB 5Years Old
Download source code:
git clone

ArkScript is a small, fast, functional and scripting language for C++ projects

Example from the web:
(import std.random) (import std.Math) (let number (mod (math:abs (random)) 10000)) (let game (fun () { (let impl (fun (tries) { (let guess (toNumber (input "Input a numeric value: "))) (if (< guess number) { (print "It's more than " guess) (impl (+ tries 1))} (if (= guess number) { (print "You found it!") tries } { (print "It's less than " guess) (impl (+ tries 1))}))})) (let tries (impl 0)) (print "You won in " tries " tries.")})) (game)
Example from hello-world:
(print "Hello World")

Language features

Feature Supported Token Example
Booleans true false
Strings "
"Hello world"
Print() Debugging print
File Imports
(import std.List)
(import std.Math :max)
# A comment
Line Comments #
# A comment
Semantic Indentation X

HackerNews discussions of ArkScript

title date score comments
Show HN: ArkScript, a small and fast language for scripting video games 03/26/2020 101 42
Show HN: An Online Playground for ArkScript 06/16/2024 1 1

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll