Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages