GithubHelp home page GithubHelp logo

herbrant / urmgo Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 55 KB

A simple Unlimited Register Machine emulator written in Go

License: GNU General Public License v3.0

Go 95.27% Makefile 4.73%
urm unlimited-register-machine emulator golang

urmgo's Introduction

URMGo

Go Report Card License: GPL v3

URMGo is a simple URM (Unlimited Register Machine) emulator written in Go to execute URM program.

Getting Started

Prerequisites

All you need to build and execute this software is Go, you can find how to install it on Windows, Linux or Mac in Go official documentation. Also if you want to use the Makefile you need make package.

Build

$ git clone https://github.com/daxcpp/URMGo.git
$ cd URMGo
$ make

Run

$ ./bin/URMGo URM_PROGRAM_SOURCE [R1, R2, R3, ... ]

where URM_PROGRAM_SOURCE is the path of your URM program and R1, R2, R3 are the input registers.

URM Program example

This is an URM program example to calculate

example1

examples/example1

1: Z(2)
2: J(1,2,5)
3: Z(1)
3: S(1)
4: J(1,1,0)
5: Z(1)

You can execute it with:

$ ./bin/URMGo examples/example1 x

There are also other examples here

Built with

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

urmgo's People

Contributors

herbrant avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.