GithubHelp home page GithubHelp logo

wenerme / bbvm Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 4.0 1.48 MB

BeBasic Virtual Machine

Home Page: https://github.com/wenerme/bbvm

License: Apache License 2.0

Java 50.20% Go 43.25% JavaScript 1.87% PEG.js 4.68%

bbvm's Introduction

BBVM - BeBasic Virtual Machine

Build Status Coverage Status Build with love GitHub issues GitHub license Twitter

; ____________________
; \______   \______   \___  _______
;  |    |  _/|    |  _/\  \/ /     \
;  |    |   \|    |   \ \   /  Y Y  \
;  |______  /|______  /  \_/|__|_|  /
;         \/        \/            \/

JMP CODE
DATA STR CHAR "Hello, BBvm",0
CODE:

OUT 1, STR
EXIT
>Hello, BBvm

go get github.com/wenerme/bbvm/cmd/bb             # Install bb command tool
bb run examples/hello.bbasm                       # Directly run bbasm

bb compile -o hello.bbin -i examples/hello.bbasm  # Compile bbasm to bbin
bb run hello.bbin                                 # Run bbin
hexdump -C hello.bbin

go get github.com/wenerme/bbvm/cmd/bbin           # Bundled bbin
bbin                                              # Should output: Hello BBvm
中文 English
README/WIKI README/WIKI

大富翁

BBvm

BBvm is a simple easy virtual machine that run bbin compile from bbasm which is a simple assembly too.

Features

BBvm has a lot built-in system invoke with a default screen enabled device.

  • Graphic draw
  • Image load
  • File read/write
  • String op

BB虚拟机

BBvm 是一个简单的虚拟机,其汇编码为 BBasm.

主要功能

BBvm 包含了大量的内建系统调用,并且运行于一个有屏幕的设备上.

  • 图形操作
  • 图像操作
  • 文件操作
  • 字符串操作

BBasic

BBasic 是一种掌上学习机的编程平台.BBK BBASIC,简称BB,最早由通宵虫于2006年开发,是由VMBASIC结合QuickBASIC开发而成. 运行于早期步步高学习机平台.

该项目为原步步高 BBasic 虚拟机的一个仿照实现.并在原来的基础上进行了扩展.

  • 做到和 BBasic 的汇编码兼容
  • 做到和 BBasic 的二进制兼容
  • 实现编译 Vasm 的编译器
  • 实现 BB 的虚拟机,包括图形界面等所有功能
  • 对 BBAsm 进行扩展

参考

bbvm's People

Contributors

wenerme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bbvm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.