Skip to content

🐱 Anything that can be written in Snowball, will eventually be written in Snowball

License

Notifications You must be signed in to change notification settings

cristiancmoises/snowball

 
 

Repository files navigation

Snowball

A fast, high-level programming language 🐱

Snowball provides a high-level, easy-to-use syntax for writing fast, efficient code. It is designed to be easy to learn and use, while still providing the performance of a low-level language.



One example to prove itself

Object-oriented programming, high-level abstractions, and low-level control are all possible with Snowball. Here's a simple example to demonstrate its capabilities:

// Generics and interface bound checks
func print<T: ToString>(x: T) {
  // A simple yet powerful standard library
  std::io::println(x);
}

func main() {
  let mut a; // Mutability safety
  a = 10; // Type safety and type inference
  let b = a; // Borrowing and immutability
  print(b); // Type inference to its best
}

About

🐱 Anything that can be written in Snowball, will eventually be written in Snowball

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.0%
  • Rust 6.3%
  • CMake 5.7%
  • Shell 2.0%