Skip to content
/ go-vm Public

Stack-based VM that's written in native Go.(一款Golang写的虚拟机)

License

Notifications You must be signed in to change notification settings

pefish/go-vm

Repository files navigation

Govm

Govm 是一个简单的虚拟机。很适合你学习研究

其中顺带写了一门自定义的简单语言,以供学习

作者的编写笔记:https://www.pefish.club/categories/%E5%8A%A8%E6%89%8B%E5%86%99%E8%99%9A%E6%8B%9F%E6%9C%BA/

注意:不可用于生产,只能用于学习研究,用于生产导致的后果自负

Quick start

go get -u github.com/pefish/go-vm/bin/govm

govm "
CONST 'Hello World'
PRINT 
halt
"

govm "
CONST 1
CONST 2.1
ADD
PRINT 
halt
"

Security Vulnerabilities

If you discover a security vulnerability, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.

License

This project is licensed under the Apache License.

About

Stack-based VM that's written in native Go.(一款Golang写的虚拟机)

Resources

License

Stars

Watchers

Forks

Packages

No packages published