grammar

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
reorganized code and mavenized the build

  1. … 491 more files in changeset.
tweaked doc format, copyright notices and import lists and corrected a few comments

  1. … 229 more files in changeset.
extended new operator to alow array creation and added assignment for arrays -- fixes BYTEMAN-123 and BYTEMAN-137

  1. … 8 more files in changeset.
allowed extra trailing semicolon at end of binding/action lists in BIND/DO clauses -- fixes BYTEMAN-134

  1. … 3 more files in changeset.
improved error handling a little -- fixes BYTEMAN-3

  1. … 3 more files in changeset.
emabled use $@ to refer to called method argument array in AT INVOKE rules fixes BYTEMAN-103. n.b. this required serious rewriting of local variable allocation support. still needs documenting in the user guide

  1. … 17 more files in changeset.
added support for new builtin vars $^, $* and $# which are bound to the current throwable on the trigger method stack, an array containing the current values of all the trigger method parameters and a count of the number of trigger method parameters. obviously $^ is only valid in an AT THROW rule. None of these variables are currently assignable. fixes BYTEMAN-101 and BYTEMAN-88

  1. … 19 more files in changeset.
enabled use of null literal in rules -- fixes BYTEMAN-86

  1. … 9 more files in changeset.
added support for new expression fixes BYTEMAN-85

  1. … 9 more files in changeset.
added support for assignment operator in rule bodies. n.b. this is stage one which does nto propagate the updates backinto the trigger call. stage two to follow. -- fixes BYTEMAN-81

  1. … 21 more files in changeset.
completed support for use of $! binding -- fixes BYTEMAN-78

  1. … 15 more files in changeset.
backported fixes and unit tests for 1.0.3.CP01 -- fixes BYTEMAN-27, BYTEMAN-30, BYTEMAN-31, BYTEMAN-35, BYTEMAN-36, BYTEMAN-39

  1. … 31 more files in changeset.
more improvements to error reporting -- fixes for BYTEMAN-3

  1. … 5 more files in changeset.
better parser error message and error line number -- fixes for BYTEMAN-3

  1. … 4 more files in changeset.
modified grammar to catch missing separator in expression lists -- fixes for BYTEMAN-3

  1. … 3 more files in changeset.
improved parser and lexer slightly -- fixes for BYTEMAN-3

  1. … 5 more files in changeset.
array handling in parser, type checker and compiler fixed -- for BYTEMAN-30

  1. … 15 more files in changeset.
changed to allow BIND NOTHING clause to be omitted -- fixes BYTEMAN-24

  1. … 5 more files in changeset.
merged all changes from trunk into 1.0 branch so we can release 1.0.2

  1. … 20 more files in changeset.
corrected error introduced into action parsing which caused returns and throws to be lost

  1. … 3 more files in changeset.
made error messages slightly clearer

  1. … 6 more files in changeset.
oops managed to catch an erroneous parser edit in the grammar file in the last commit

  1. … 3 more files in changeset.
improved error detection/notification in parser and partly fixed broken functionality in script type checker

  1. … 6 more files in changeset.
moved everything to package org.jboss.byteman and udpated all documents, scripts and other names to refer Byteman

  1. … 239 more files in changeset.
added tests for method invocations and fixed parser bugs to do with static method invocations

  1. … 9 more files in changeset.
added tests for field operations and fixed various compilation bugs turned up by running those tests

  1. … 26 more files in changeset.
added tests for logical operations, fixed bug in parsing/type checking ?= operator and modified parser/typechecker to display file and line number for offending expressions when parse or type errors occur

  1. … 23 more files in changeset.
Fixed problem where defaulting of location type (AT ENTRY) caused null pointer exception

Fixed bug in type helper which was stopping method names with empty

signatures (e.g. get() or foo.get()) being recognised.

Corrected problem in tokenizer/parser where terms like $0.foo() where

not being recognised because the characters 0. were being tokenised as

a float. Tokenizer now identifies $<integer_literal> or $<identifier>

as a single token rather than applying $ as a unary prefix operator to

the next term.

Added option to switch on debug trace in CUP parser by setting System

property org.jboss.jbossts.orchestration.rule.debug. To make this work

properly this required:

Modified parser to use class PrintableSymbol` instead of Symbol.

Provided an implementation of PrintableSymbol which prints the symbol

name and associated value rather than just a numeric idx.

Specialised parser debug print routines called by debug_parse so that

they stop printing symbol numeric idxs and rely on the toString method

to print the symbol.

  1. … 11 more files in changeset.
added a new parser which should accept most Java syntax and does nifty stuff like operator precedence. also fixed a few bugs

    • -0
    • +417
    ./cup/ECAGrammar.cup
    • -0
    • +264
    ./flex/ECAToken.flex
  1. … 52 more files in changeset.
added copyright notices to sources and user guide and updated version/date on the latter

  1. … 62 more files in changeset.