From 0054a7eaacba2a7183be67b28e7746ed55a8f6d1 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 3 Mar 2005 21:24:24 +0000 Subject: 2005-03-03 Frank Ch. Eigler * parse.cxx (parse_assignment): Assert lvalueness of left operand. * staptree.h (expression): Add is_lvalue member. * staptree.cxx (functioncall::resolve_types): Don't crash on formal-vs-actual argument count mismatch. (*): Add some is_lvalue stub functions. * testsuite/*: Some new tests. --- README | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index 6eff13fe..1bf982b0 100644 --- a/README +++ b/README @@ -1,10 +1,12 @@ -systemtap prototype #3 +systemtap prototype #3.1 - 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 -- baby grammar examples under testsuite/parseok -- only "probe" top-level construct is parsed; "global" missing; +- semantic analysis in stapfile.cxx, driven from semtest.cxx +- examples under testsuite +- "probe", "global", "function" top-level constructs parsed no provider-oriented syntax provided yet - use autotools-style configure; make; make check -- to see parse tree dump, use stdin: echo 'SCRIPT FRAGMENT' | ./stap +- to see parse tree dump, use stdin: echo 'SCRIPT FRAGMENT' | ./parsetest +- to see type inference results, use stdin: echo 'SCRIPT FRAGMENT' | ./semtest -- cgit