项目作者: nilq

项目描述 :
🐍 A mission-critical scripting language
高级语言: Rust
项目地址: git://github.com/nilq/hugorm.git
创建时间: 2020-02-16T09:37:49Z
项目社区:https://github.com/nilq/hugorm

开源协议:MIT License

下载


hugorm

Hugorm

MIT License

What is Hugorm?

It is a dynamically typed programming language. Hugorm strives to be better version of the other snake language, with a heightened focus on \. The syntax is designed to be easy to read and easy to write, and runs on a constantly improving bytecode virtual machine.

Selling points

“Sssssss …” - hugorm

  • Decently fast
  • Easy-to-learn syntax
  • Made in Rust
  • The REPL has colors
  • Absolutely massive community
  • Surprising bugs, maybe

Examples

Everyone loves examples. Below are some rather useless example programs, showcasing the raw syntax of Hugorm.

Functions

Literally fun.

firsthug

Loops

whilehug

Exotic loops

loophug

Data

hug

Interfaces

An interface will work like a set of pre-made functions that can be bound to new objects. Kinda like the way you implement traits on a struct in Rust.

interface

The future

Web

In the future, I want to have inline web things.

weblolhug

TO-DO

  • Shunting-yard to be reviewed
  • For-loops and iterators
  • Interfaces

License

MIT