Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

ArkScript

ArkScript - Programming language

< >

ArkScript is a programming language created in 2019 by Alexandre Plateau and Pierre Pharel and Natendrtfm.

#733on PLDB 4Years Old 580Users
0Books 0Papers

ArkScript is a small, fast, functional and scripting language for video games.


Example from the web:
{ # more or less game (print "More or less game!") (import "random.bin") (import "Math/Arithmetic.ark") (let number (mod (abs (random)) 10000)) (mut value 0) (mut essais 0) (mut continue true) (while continue { (set value (toNumber (input "Input a numeric value: "))) (if (< value number) # then (print "More!") # else (if (= value number) # then { (print "Bingo!") (set continue false) } # else (print "Less!"))) (set essais (+ 1 essais))}) (print "You won in " essais " tries") }
Example from hello-world:
(print "Hello World")

Language features

Feature Supported Token Example
Booleans true false
Strings "
"Hello world"
Print() Debugging print
Comments
# A comment
Line Comments #
# A comment
Semantic Indentation X
harbour.html · arkscript.html · dartmouth-basic.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com