This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision |
buzz_toolset [2016/04/17 00:22] – [CMake Support] ilpincy | buzz_toolset [2016/04/23 23:01] – ilpincy |
---|
| |
<code bash> | <code bash> |
$ bzzdeasm <infile.bo> <infile.bdbg> <outfile.basm> | $ bzzdeasm <infile.bo> <infile.bdb> <outfile.basm> |
</code> | </code> |
| |
This tool takes as input a bytecode file ''infile.bo'' and the corresponding debugging information file ''infile.bdbg'', and produces an [[buzz_assembler|assembly code]] file ''outfile.basm''. | This tool takes as input a bytecode file ''infile.bo'' and the corresponding debugging information file ''infile.bdb'', and produces an [[buzz_assembler|assembly code]] file ''outfile.basm''. |
| ==== bzzrun ==== |
| |
| <code bash> |
| $ bzzrun [--trace] file.bo file.bdb |
| </code> |
| |
| This is a simple interpreter that executes the given Buzz bytecode file ''file.bo''. Its main purpose is to provide a starting point for projects that integrate Buzz as extension language. |
| |
| As such, the [[https://github.com/MISTLab/Buzz/blob/master/src/buzz/buzzrun.c|source code of ''bzzrun'']] is more interesting than what the command actually does. ''bzzrun'' can also be used as a simple interpreter for standalone Buzz scripts that do not use any messaging (e.g., neighbors, groups, virtual stigmergy, etc.). |
| |
==== CMake Support ==== | ==== CMake Support ==== |