Skip to content

vyacheslavhere/Ice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧊 ICE.

Interpreted. Compact. Expressive ❄️.

🎁 Simple, lightweight, interpreted embeddable programming language written in GO.

✏️ Example:

use std/io for println
println("Hello, world!")

β˜” Weather example:

use std/io for println

type Weather(is_sunny) {
	self.is_sunny = is_sunmy
	fn is_cloudy() {
		return !self.is_sunny
	}
}

let weather = Weather(false)
println(weather.is_cloudy())

πŸŒ‹ Error example:

Code:

let number = true + 1

Produces error:

[error] could not use operator `+` with `bool` and `int`

	test.ice:
	01 let number = true + 1
                    ~~~~~~~~

🍊 In early stages of development.

About

ICE - Interpreted. Compact. Expressive 🍫🧊

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published