source: proto/parabix2/Compiler/README @ 350

Last change on this file since 350 was 350, checked in by eamiri, 9 years ago

README file added

File size: 805 bytes
Line 
1This directory contains code for Bit Stream Compiler. This compiler transforms high level python code to C code. The input python file must be written using Parallel Bit Stream idea and only operations on parallel bit streams can be used in the input file. The compiler can be run useing the following command
2
3python bitstream_compiler.py <input file> [output file]
4
5User must input an input file name. This must be a valid python file that only includes operations defined for parallel bit streams. The input file must contain a function named "main".
6
7Output filename is optional. If it is not specified by uesr, the name "code.c" will be used. This file must be compiled using g++. Using gcc to compile this file produces error. It is recommended to use optimiztion flag -O3 when compiling this file.
Note: See TracBrowser for help on using the repository browser.