jackwadden / VASim

VASim is a virtual homogeneous non-deterministic finite automata automata simulator and transformation tool. VASim can parse, transform, simulate, and profile homogeneous NFAs, and is meant to be an open tool for automata processing research. VASim can also be extended to support hypothetical automata processing elements.
BSD 3-Clause "New" or "Revised" License
34 stars 20 forks source link

report cycles #36

Closed karakchi closed 6 years ago

karakchi commented 6 years ago

Hello Jack,

When I type -r, report file is generated containing three columns. For verification, is the sequence of the columns offset:report_STE:cycles or cycles:stes:offset?

Thanks,

jackwadden commented 6 years ago

The -r output format is \<cycle>:\<STE ID>:\<report code>.

-Cycle is the index into the symbol stream where the report was triggered. -STE ID is the string ID of the STE that triggered. -Report code is a separate code that is optionally associated with reports. Report codes are usually used for things like classification, e.g. if multiple reporting STEs report with different character classes but "mean the same thing".