From 2b066ec1b8801b08052a68282ce34ef9c425ae8f Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 21 May 2005 01:35:34 +0000 Subject: * at long last, a more full-bodied snapshot 2005-05-20 Frank Ch. Eigler Many changes throughout. Partial sketch of translation output. * elaborate.*: Elaboration pass. * translate.*: Translation pass. * staptree.*: Simplified for visitor concept. * main.cxx: Translator mainline. * *test.cxx: Removed. * testsuite/*: Some new tests, some changed for newer syntax. --- README | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index 1bf982b0..dc174ca5 100644 --- a/README +++ b/README @@ -1,12 +1,14 @@ -systemtap prototype #3.1 +systemtap prototype #3.2 - demonstrates partial 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 stapfile.cxx, driven from semtest.cxx +- semantic analysis in elaborate.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 dump, use stdin: echo 'SCRIPT FRAGMENT' | ./parsetest -- to see type inference results, use stdin: echo 'SCRIPT FRAGMENT' | ./semtest +- 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' -- cgit