Giter Club home page Giter Club logo

stackvm's People

Contributors

akkartik avatar kcreate avatar tekknolagi avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tekknolagi

stackvm's Issues

Automated CI testing

Should include automatic testing of example code and unit tests for each part of the pipeline.

Port to Lua jit jvm disabled

Hello,

First of all, I follow you and wish you very much success for your projects. I really enjoy your ideas behind the projects.

My subject of this issue is, if I am allowed to port this vm to Lua jit with the jvm disabled. I’d like to use lua to address the above challenge cause it’s freaking fast and I think it will work. If I’m allowed, I’ll add you to the license file.

Again, I love your work and I am really engaged for cooperating at jobs in compiler/vm/interpreter funds.

Thanks and regards

Timo S.

The examples don't seem to be assemble-able

For example:

willow% ./bin/stackvm build examples/loops.asm -s -o loops.bc    
Error: sub expected 2 arguments, got 3 at /home/max/Documents/Dev/stackvm/examples/loops.asm:40:3

Concurrency Model

Hey there,

I know it seem weird, but I have an idea what you could implement on your vm: A thread-safe concurrency Model for the assembler.😂 It would be beneficial for the vm with methods such yielding and threading for implementing programs that run parallel or interrupt each other’s.💡😅

By the way: I am working on a node.js implementation of your stackvm. I have pinned it on my GH profile. It is called ASPL (spelled Aspel) and stands for: adaptive, stack-based, programming, language.

Thanks and regards

Timo

Adding comments and nested comments

Hy

I’ve got just a little idea to implement: comments and nested comments in the assembler for more readability in the code.😆

Regards

Timo

It's not clear how to build this

When I try to compile with make, I get:

willow% make
mkdir -p bin
crystal build src/stackvm.cr -o bin/stackvm --error-trace
Error in src/stackvm.cr:2: while requiring "./command.cr"

require "./command.cr"
^

in src/command.cr:7: while requiring "./monitor.cr"

require "./monitor.cr"
^

in src/monitor.cr:1: while requiring "sdl": can't find file 'sdl' relative to '/home/max/Documents/Dev/stackvm/src'

require "sdl"
^

Makefile:18: recipe for target 'stackvm' failed
make: *** [stackvm] Error 1

Refactor assembler code

In it's current state, the code is a huge mess. The assembler should first build the finished executable in memory, without writing anything to disk.

This would allow for lazy symbol resolution.

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.