diff options
author | fche <fche> | 2005-06-08 22:02:09 +0000 |
---|---|---|
committer | fche <fche> | 2005-06-08 22:02:09 +0000 |
commit | bb2e3076ea20631d4606050550bc9664204f2c62 (patch) | |
tree | ef9cfb841ddb001c1f3aa266523f1ff6f56b21b5 /README | |
parent | 22f4623195facb4cbc1b50c45c0bd689f6958a9d (diff) | |
download | systemtap-steved-bb2e3076ea20631d4606050550bc9664204f2c62.tar.gz systemtap-steved-bb2e3076ea20631d4606050550bc9664204f2c62.tar.xz systemtap-steved-bb2e3076ea20631d4606050550bc9664204f2c62.zip |
2005-06-08 Frank Ch. Eigler <fche@redhat.com>
systemtap/916
Implement all basic scalar operators, including modify-assignment.
* parse.cxx (lexer): Allow multi-character lookahead in order to
scan 1/2/3-character operators.
(parse_boolean_or/and/xor/shift): New routines.
* translate.cxx (visit_assignment, visit_binary_expression,
visit_*_crement): Generally rewrote.
(visit_*): Added more parentheses in output.
(emit_module_init): Initialize globals.
* staptree.h, elaborate.cxx, elaborate.h: Remove exponentiation.
* main.cxx (main): Add an end-of-line to output file.
* testsuite/*: Several new tests.
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,14 +1,15 @@ -systemtap prototype #3.2 +systemtap prototype #3.3 -- demonstrates partial parsing of hypothetical systemtap script +- demonstrates parsing of hypothetical systemtap script language using hand-written simpe LL(1) recursive-descent parser and similar little lexer: parse.cxx, parse.h -- semantic analysis in elaborate.cxx, driven from main.cxx -- examples under testsuite +- semantic analysis in elaborate.cxx; translation in translate.cxx; + driven from main.cxx +- examples under testsuite/* - "probe", "global", "function" top-level constructs parsed - no provider-oriented syntax provided yet - some tapset library auto-inclusion supported - use autotools-style configure; make; make check - to see parse tree: stap -p1 -e 'SCRIPT FRAGMENT' - to see semantic/type analysis results: stap -p2 -e 'SCRIPT FRAGMENT' -- to see translation of subset of constructs: stap -e 'SCRIPT FRAGMENT' +- to see translation of constructs: stap -e 'SCRIPT FRAGMENT'; + try compiling result with "gcc -c"! |