Dawn (dwn
) is the interpreter and bytecode compiler for the Dawn Programming Language.
NOTE!: This project has been abandoned. A new project orion
has been created in the Solarcode Organisation
say "Hello!"
let name = (ask "What is your name? ")
say "Hello" name "!"
let n = 1256
if (n == 1256) { ; test
say "Hello! Welcome to The Guesser"
}
forever {
let gs = (ask "Guess the number > ")
let g = (int gs)
if (g == n) {
say "Congratulations! The number was" n
break
}
if (g > n) {
say "Too big!"
}
if (g < n) {
say "Too small!"
}
}