2017 © Pedro Peláez
 

project tacit

A Simple ByteCode VM in PHP

image

errant/tacit

A Simple ByteCode VM in PHP

  • Thursday, October 23, 2014
  • by errant
  • Repository
  • 2 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Tacit

Build Status Code Coverage Scrutinizer Code Quality, (*1)

Tacit is:, (*2)

  • VM: A bytecode VM, with basic stack, memory management and interpreter
  • Tac: A toy language similar in style to Assembly that comes with a lexer and compiler

Implementing a VM (and indeed a language) in PHP is silly, it's slow and limited. However, Tacit might have a purpose; for example as an educational tool., (*3)

Tacit was built with the aim of being a safe, sandboxed scripting VM for a PHP-based game. Yes, a ridiculous notion but one that works surprisingly well for simple applications., (*4)

Get Started

  • Clone the Repository
  • Browse the examples folder
  • Try an example:
bin/tacit examples/simple.tac

Future

The aim is for Tacit to expand to be more featureful, on the list is:, (*5)

  • Adding registers to the VM
  • Expanding the Tac language with more complex commands
  • The addition of a higher-level scripting language (& compiler) similar to Ruby/Python

More

The Versions

23/10 2014

dev-master

9999999-dev

A Simple ByteCode VM in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

21/10 2014

1.0.0-alpha

1.0.0.0-alpha

A Simple ByteCode VM in PHP

  Sources   Download

The Requires

  • php >=5.5.0