Questions Concepts
GitHub icon

ArkScript

ArkScript - Programming language

< >

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

Source code:
git clone https://github.com/ArkScript-lang/Ark
#708on PLDB 4Years Old

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

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout