Skip to content

jondgoodwin/acornvm

Repository files navigation

acornvm - Acorn Virtual Machine

This lightweight library supports the execution of Acorn programs within a dedicated virtual machine. Acorn is a dynamically typed, object-oriented language designed to make it easier to define and animate interactive, web-based 3-D worlds.

Acorn Virtual Machine library features:

  • Compilation of Acorn programs into byte-code.
  • Execution of compiled byte-code (or C) methods or functions
  • A object-oriented library for core types
  • Automated memory management and garbage collection

It is designed to be embedded for use within another program, such as a Web3D browser or server.

Documentation

The Acorn language has a comprehensive reference document.

Doxygen can be used to generate API documentation from the source code. The acorn_vm.conf Doxygen configuration file may be used to accomplish this.

This website offers additional information about the Web3D vision, and Acorn's place in it.

Building (Linux)

To build the library:

make
  1. By default, a local 'obj' directory is created, and all 'src' compiled into it.
  2. A local 'lib' directory is created, and 'w3d_data.a' is created.
  3. The test program is created in 'test' from its compiled source and library.

To run the test program:

test/test_data

Building (Windows)

A Visual C++ 2010 solutions file can be created using the project files. The generated object, library, and executable files are created relative to the location of the solutions file.

License

The Acorn Virtual Machine (acornvm) is distributed under the terms of the MIT license. See LICENSE and COPYRIGHT for details.

About

Acorn Virtual Machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages