Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
/ dwn Public archive

Dawn (dwn) is the interpreter and bytecode compiler for the Dawn Programming Language.

License

Notifications You must be signed in to change notification settings

ArnabRollin/dwn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwn

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

Installation options

Examples

User Greeting

say "Hello!"
let name = (ask "What is your name? ")

say "Hello" name "!"

Guessing Game

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!"
 }
}