Download Parse4SJM Free Java Code

Description

Java based language parsing framework that does not require any code generation steps.

Source Files

The download file Parse4SJM-master.zip has the following entries.


.classpath//from ww w  .  j  a  va  2 s  . c  om
.project
build.xml
changes.txt
distrib/bpwj.zip
examples/groovy/SimpleGrammar.groovy
examples/groovy/SimpleGrammarInJava.java
examples/sjm/examples/book/arithmetic/ArithmeticExpressionException.java
examples/sjm/examples/book/arithmetic/ArithmeticParser.java
examples/sjm/examples/book/arithmetic/DivideAssembler.java
examples/sjm/examples/book/arithmetic/ExpAssembler.java
examples/sjm/examples/book/arithmetic/MinusAssembler.java
examples/sjm/examples/book/arithmetic/NumAssembler.java
examples/sjm/examples/book/arithmetic/PlusAssembler.java
examples/sjm/examples/book/arithmetic/ShowArithmeticParser.java
examples/sjm/examples/book/arithmetic/TimesAssembler.java
examples/sjm/examples/book/chips/Chip.java
examples/sjm/examples/book/chips/ChipBase.java
examples/sjm/examples/book/chips/Customer.java
examples/sjm/examples/book/chips/Order.java
examples/sjm/examples/book/cloning/CannotCloneAnotherType.java
examples/sjm/examples/book/cloning/CannotCloneWithoutCloneable.java
examples/sjm/examples/book/cloning/CloningOk.java
examples/sjm/examples/book/cloning/Course.java
examples/sjm/examples/book/cloning/Customer.java
examples/sjm/examples/book/cloning/OrderFlawed.java
examples/sjm/examples/book/cloning/OrderOk.java
examples/sjm/examples/book/cloning/Person.java
examples/sjm/examples/book/cloning/Professor.java
examples/sjm/examples/book/cloning/ShowCustomer.java
examples/sjm/examples/book/cloning/ShowOrderFlawed.java
examples/sjm/examples/book/cloning/ShowOrderOk.java
examples/sjm/examples/book/cloning/Textbook.java
examples/sjm/examples/book/coffee/AlsoFrenchAssembler.java
examples/sjm/examples/book/coffee/Coffee.java
examples/sjm/examples/book/coffee/CoffeeParser.java
examples/sjm/examples/book/coffee/CoffeeParserTest.java
examples/sjm/examples/book/coffee/CountryAssembler.java
examples/sjm/examples/book/coffee/CountryHelper.java
examples/sjm/examples/book/coffee/FormerNameAssembler.java
examples/sjm/examples/book/coffee/FormerNameHelper.java
examples/sjm/examples/book/coffee/Helper.java
examples/sjm/examples/book/coffee/NameAssembler.java
examples/sjm/examples/book/coffee/NameHelper.java
examples/sjm/examples/book/coffee/NewCoffeeHelper.java
examples/sjm/examples/book/coffee/OrFrenchHelper.java
examples/sjm/examples/book/coffee/PriceAssembler.java
examples/sjm/examples/book/coffee/PriceHelper.java
examples/sjm/examples/book/coffee/RoastAssembler.java
examples/sjm/examples/book/coffee/RoastHelper.java
examples/sjm/examples/book/coffee/ShowCoffee.java
examples/sjm/examples/book/coffee/ShowCoffeeXML.java
examples/sjm/examples/book/combinatorics/Combinations.java
examples/sjm/examples/book/combinatorics/Combinatoric.java
examples/sjm/examples/book/combinatorics/CombinatoricException.java
examples/sjm/examples/book/combinatorics/Permutations.java
examples/sjm/examples/book/design/AverageAssembler.java
examples/sjm/examples/book/design/RunningAverage.java
examples/sjm/examples/book/design/ShowAssembler.java
examples/sjm/examples/book/design/ShowStack.java
examples/sjm/examples/book/engine/Anonymous.java
examples/sjm/examples/book/engine/ArithmeticOperator.java
examples/sjm/examples/book/engine/ArithmeticTerm.java
examples/sjm/examples/book/engine/Atom.java
examples/sjm/examples/book/engine/Axiom.java
examples/sjm/examples/book/engine/AxiomEnumeration.java
examples/sjm/examples/book/engine/AxiomSource.java
examples/sjm/examples/book/engine/BooleanFact.java
examples/sjm/examples/book/engine/BooleanTerm.java
examples/sjm/examples/book/engine/Comparison.java
examples/sjm/examples/book/engine/ComparisonTerm.java
examples/sjm/examples/book/engine/ConsultingNot.java
examples/sjm/examples/book/engine/ConsultingStructure.java
examples/sjm/examples/book/engine/DynamicAxiom.java
examples/sjm/examples/book/engine/DynamicRule.java
examples/sjm/examples/book/engine/EmptyList.java
examples/sjm/examples/book/engine/Evaluation.java
examples/sjm/examples/book/engine/EvaluationException.java
examples/sjm/examples/book/engine/Fact.java
examples/sjm/examples/book/engine/Gateway.java
examples/sjm/examples/book/engine/Not.java
examples/sjm/examples/book/engine/NumberFact.java
examples/sjm/examples/book/engine/Program.java
examples/sjm/examples/book/engine/ProgramEnumerator.java
examples/sjm/examples/book/engine/Query.java
examples/sjm/examples/book/engine/Rule.java
examples/sjm/examples/book/engine/Scope.java
examples/sjm/examples/book/engine/Structure.java
examples/sjm/examples/book/engine/Term.java
examples/sjm/examples/book/engine/Unification.java
examples/sjm/examples/book/engine/Variable.java
examples/sjm/examples/book/engine/samples/City.java
examples/sjm/examples/book/engine/samples/ShowAnonymous.java
examples/sjm/examples/book/engine/samples/ShowArithmetic.java
examples/sjm/examples/book/engine/samples/ShowArithmeticEvaluation.java
examples/sjm/examples/book/engine/samples/ShowComparison.java
examples/sjm/examples/book/engine/samples/ShowEvaluation.java
examples/sjm/examples/book/engine/samples/ShowFacts.java
examples/sjm/examples/book/engine/samples/ShowFailedUnification.java
examples/sjm/examples/book/engine/samples/ShowJoin.java
examples/sjm/examples/book/engine/samples/ShowList.java
examples/sjm/examples/book/engine/samples/ShowNot.java
examples/sjm/examples/book/engine/samples/ShowProgram.java
examples/sjm/examples/book/engine/samples/ShowProof.java
examples/sjm/examples/book/engine/samples/ShowRule.java
examples/sjm/examples/book/engine/samples/ShowScreening.java
examples/sjm/examples/book/engine/samples/ShowStructure.java
examples/sjm/examples/book/engine/samples/ShowStructureEvaluation.java
examples/sjm/examples/book/engine/samples/ShowStructureUnification.java
examples/sjm/examples/book/engine/samples/ShowTwoStructureQuery.java
examples/sjm/examples/book/engine/samples/ShowVariable.java
examples/sjm/examples/book/engine/samples/ShowVariableUnification.java
examples/sjm/examples/book/engine/samples/ShowVariableUnification2.java
examples/sjm/examples/book/engine/samples/ShowVariableUnification3.java
examples/sjm/examples/book/imperative/AssignmentCommand.java
examples/sjm/examples/book/imperative/Command.java
examples/sjm/examples/book/imperative/CommandSequence.java
examples/sjm/examples/book/imperative/ForCommand.java
examples/sjm/examples/book/imperative/IfCommand.java
examples/sjm/examples/book/imperative/NullCommand.java
examples/sjm/examples/book/imperative/PrintlnCommand.java
examples/sjm/examples/book/imperative/ReadCommand.java
examples/sjm/examples/book/imperative/ShowAssignmentCommand.java
examples/sjm/examples/book/imperative/ShowCommand.java
examples/sjm/examples/book/imperative/WhileCommand.java
examples/sjm/examples/book/introduction/ShowApostrophe.java
examples/sjm/examples/book/introduction/ShowAssemblyAppearance.java
examples/sjm/examples/book/introduction/ShowComposite.java
examples/sjm/examples/book/introduction/ShowElementsAbove.java
examples/sjm/examples/book/introduction/ShowEmpty.java
examples/sjm/examples/book/introduction/ShowLiteral.java
examples/sjm/examples/book/introduction/ShowNums.java
examples/sjm/examples/book/introduction/ShowQuotedString.java
examples/sjm/examples/book/introduction/ShowRepetition.java
examples/sjm/examples/book/introduction/ShowTerminal.java
examples/sjm/examples/book/introduction/ShowTokenAssembly.java
examples/sjm/examples/book/karate/KaratePuzzle.java
examples/sjm/examples/book/karate/Student.java
examples/sjm/examples/book/logic/AnonymousAssembler.java
examples/sjm/examples/book/logic/ArithmeticAssembler.java
examples/sjm/examples/book/logic/AtomAssembler.java
examples/sjm/examples/book/logic/AxiomAssembler.java
examples/sjm/examples/book/logic/ComparisonAssembler.java
examples/sjm/examples/book/logic/EvaluationAssembler.java
examples/sjm/examples/book/logic/ListAssembler.java
examples/sjm/examples/book/logic/ListWithTailAssembler.java
examples/sjm/examples/book/logic/LogikusException.java
examples/sjm/examples/book/logic/LogikusFacade.java
examples/sjm/examples/book/logic/LogikusIde.java
examples/sjm/examples/book/logic/LogikusMediator.java
examples/sjm/examples/book/logic/LogikusParser.java
examples/sjm/examples/book/logic/LogikusTest.java
examples/sjm/examples/book/logic/NotAssembler.java
examples/sjm/examples/book/logic/StructureWithTermsAssembler.java
examples/sjm/examples/book/logic/VariableAssembler.java
examples/sjm/examples/book/mechanics/LowercaseWord.java
examples/sjm/examples/book/mechanics/ShowAlternationBasic.java
examples/sjm/examples/book/mechanics/ShowAlternationSet.java
examples/sjm/examples/book/mechanics/ShowAmbiguity.java
examples/sjm/examples/book/mechanics/ShowAssemblies.java
examples/sjm/examples/book/mechanics/ShowAstarAB.java
examples/sjm/examples/book/mechanics/ShowBestMatch.java
examples/sjm/examples/book/mechanics/ShowCompleteMatch.java
examples/sjm/examples/book/mechanics/ShowCycle.java
examples/sjm/examples/book/mechanics/ShowNewTerminals.java
examples/sjm/examples/book/mechanics/ShowPush.java
examples/sjm/examples/book/mechanics/ShowRepetitionMatch.java
examples/sjm/examples/book/mechanics/ShowSequenceLeftovers.java
examples/sjm/examples/book/mechanics/ShowSequenceManual.java
examples/sjm/examples/book/mechanics/ShowSequencePinch.java
examples/sjm/examples/book/mechanics/ShowSequenceSimple.java
examples/sjm/examples/book/mechanics/ShowToString1.java
examples/sjm/examples/book/mechanics/ShowToString2.java
examples/sjm/examples/book/mechanics/ShowVacation.java
examples/sjm/examples/book/mechanics/ShowZeroMatch.java
examples/sjm/examples/book/mechanics/UppercaseWord.java
examples/sjm/examples/book/mechanics/VerboseRepetition.java
examples/sjm/examples/book/mechanics/VerboseSequence.java
examples/sjm/examples/book/midimath/MidiParser.java
examples/sjm/examples/book/midimath/Midiloop.java
examples/sjm/examples/book/midimath/MidiloopNot.java
examples/sjm/examples/book/midimath/Midimath.java
examples/sjm/examples/book/minimath/MiniLeftRecursion.java
examples/sjm/examples/book/minimath/MiniWrongAssociativity.java
examples/sjm/examples/book/minimath/MinimathAnonymous.java
examples/sjm/examples/book/minimath/MinimathCompute.java
examples/sjm/examples/book/minimath/MinimathParser.java
examples/sjm/examples/book/minimath/MinimathRecognize.java
examples/sjm/examples/book/preface/ShowHello.java
examples/sjm/examples/book/pretty/ComponentNode.java
examples/sjm/examples/book/pretty/CompositeNode.java
examples/sjm/examples/book/pretty/FenceAssembler.java
examples/sjm/examples/book/pretty/PrettyAlternationAssembler.java
examples/sjm/examples/book/pretty/PrettyEmptyAssembler.java
examples/sjm/examples/book/pretty/PrettyParser.java
examples/sjm/examples/book/pretty/PrettyRepetitionAssembler.java
examples/sjm/examples/book/pretty/PrettySequenceAssembler.java
examples/sjm/examples/book/pretty/PrettyTerminalAssembler.java
examples/sjm/examples/book/pretty/PrettyVisitor.java
examples/sjm/examples/book/pretty/ShowDangle.java
examples/sjm/examples/book/pretty/ShowPrettyAlternations.java
examples/sjm/examples/book/pretty/ShowPrettyRepetitions.java
examples/sjm/examples/book/pretty/TerminalNode.java
examples/sjm/examples/book/query/ChipSource.java
examples/sjm/examples/book/query/ChipSpeller.java
examples/sjm/examples/book/query/ClassNameAssembler.java
examples/sjm/examples/book/query/ComparisonAssembler.java
examples/sjm/examples/book/query/ComparisonParser.java
examples/sjm/examples/book/query/JaqlMediator.java
examples/sjm/examples/book/query/JaqlParser.java
examples/sjm/examples/book/query/JaqlTester.java
examples/sjm/examples/book/query/JaqlUe.java
examples/sjm/examples/book/query/MellowSpeller.java
examples/sjm/examples/book/query/QueryBuilder.java
examples/sjm/examples/book/query/SelectTermAssembler.java
examples/sjm/examples/book/query/ShowChipSource.java
examples/sjm/examples/book/query/Speller.java
examples/sjm/examples/book/query/UnrecognizedClassException.java
examples/sjm/examples/book/query/UnrecognizedVariableException.java
examples/sjm/examples/book/query/VariableAssembler.java
examples/sjm/examples/book/regular/AndAssembler.java
examples/sjm/examples/book/regular/CharAssembler.java
examples/sjm/examples/book/regular/OrAssembler.java
examples/sjm/examples/book/regular/RegularExpressionException.java
examples/sjm/examples/book/regular/RegularParser.java
examples/sjm/examples/book/regular/ShowRegularParser.java
examples/sjm/examples/book/regular/StarAssembler.java
examples/sjm/examples/book/reserved/ReservedWord.java
examples/sjm/examples/book/reserved/ShowReserved.java
examples/sjm/examples/book/reserved/VolumeQuery2.java
examples/sjm/examples/book/reserved/WordOrReservedState.java
examples/sjm/examples/book/robot/PickAssembler.java
examples/sjm/examples/book/robot/PickCommand.java
examples/sjm/examples/book/robot/PlaceAssembler.java
examples/sjm/examples/book/robot/PlaceCommand.java
examples/sjm/examples/book/robot/RobotCommand.java
examples/sjm/examples/book/robot/RobotMonolithic.java
examples/sjm/examples/book/robot/RobotParser.java
examples/sjm/examples/book/robot/RobotRefactored.java
examples/sjm/examples/book/robot/ScanAssembler.java
examples/sjm/examples/book/robot/ScanCommand.java
examples/sjm/examples/book/robot/ShowRobotParser.java
examples/sjm/examples/book/robot/ShowRobotRefactored.java
examples/sjm/examples/book/sling/Abs.java
examples/sjm/examples/book/sling/AddFunctionCommand.java
examples/sjm/examples/book/sling/Arithmetic.java
examples/sjm/examples/book/sling/AssignFunctionCommand.java
examples/sjm/examples/book/sling/AssignmentAssembler.java
examples/sjm/examples/book/sling/Cartesian.java
examples/sjm/examples/book/sling/Ceil.java
examples/sjm/examples/book/sling/Cos.java
examples/sjm/examples/book/sling/Extrema.java
examples/sjm/examples/book/sling/Floor.java
examples/sjm/examples/book/sling/ForAssembler.java
examples/sjm/examples/book/sling/FunctionAssembler.java
examples/sjm/examples/book/sling/FunctionComparison.java
examples/sjm/examples/book/sling/NegativeAssembler.java
examples/sjm/examples/book/sling/NumAssembler.java
examples/sjm/examples/book/sling/PiAssembler.java
examples/sjm/examples/book/sling/PlotAssembler.java
examples/sjm/examples/book/sling/Point.java
examples/sjm/examples/book/sling/Polar.java
examples/sjm/examples/book/sling/Random.java
examples/sjm/examples/book/sling/Renderable.java
examples/sjm/examples/book/sling/RenderableCollection.java
examples/sjm/examples/book/sling/ReservedLiteral.java
examples/sjm/examples/book/sling/Scale.java
examples/sjm/examples/book/sling/ScaleAssembler.java
examples/sjm/examples/book/sling/Scope.java
examples/sjm/examples/book/sling/ShowFunction.java
examples/sjm/examples/book/sling/Sin.java
examples/sjm/examples/book/sling/Slider.java
examples/sjm/examples/book/sling/SliderAssembler.java
examples/sjm/examples/book/sling/Sling.java
examples/sjm/examples/book/sling/SlingFunction.java
examples/sjm/examples/book/sling/SlingIde.java
examples/sjm/examples/book/sling/SlingMediator.java
examples/sjm/examples/book/sling/SlingPanel.java
examples/sjm/examples/book/sling/SlingParser.java
examples/sjm/examples/book/sling/SlingTarget.java
examples/sjm/examples/book/sling/SlingTester.java
examples/sjm/examples/book/sling/T.java
examples/sjm/examples/book/sling/Tan.java
examples/sjm/examples/book/sling/UnassignedVariableException.java
examples/sjm/examples/book/sling/Variable.java
examples/sjm/examples/book/sling/VariableAssembler.java
examples/sjm/examples/book/string/Identity.java
examples/sjm/examples/book/string/LowerCase.java
examples/sjm/examples/book/string/ShowStringFunction.java
examples/sjm/examples/book/string/StringFunction.java
examples/sjm/examples/book/string/Substring.java
examples/sjm/examples/book/string/Trim.java
examples/sjm/examples/book/string/UpperCase.java
examples/sjm/examples/book/tests/Dangle.java
examples/sjm/examples/book/tests/ShowArithmeticTest.java
examples/sjm/examples/book/tests/ShowCoffeeTest.java
examples/sjm/examples/book/tests/ShowDangleTest.java
examples/sjm/examples/book/tests/ShowLogikusTester.java
examples/sjm/examples/book/tests/ShowRegularTester.java
examples/sjm/examples/book/tests/ShowRobotTest.java
examples/sjm/examples/book/tests/ShowVolumeTest.java
examples/sjm/examples/book/tests/VolumeQuery.java
examples/sjm/examples/book/tokens/ScientificNumberState.java
examples/sjm/examples/book/tokens/ShowDefaultTokenization.java
examples/sjm/examples/book/tokens/ShowNewSymbol.java
examples/sjm/examples/book/tokens/ShowNoComment.java
examples/sjm/examples/book/tokens/ShowQuoteState.java
examples/sjm/examples/book/tokens/ShowScientific.java
examples/sjm/examples/book/tokens/ShowSuppliedReader.java
examples/sjm/examples/book/tokens/ShowTokenString.java
examples/sjm/examples/book/tokens/ShowTokenizer.java
examples/sjm/examples/book/tokens/ShowTokenizer2.java
examples/sjm/examples/book/tokens/ShowWord.java
examples/sjm/examples/book/track/ShowTrack.java
examples/sjm/examples/book/track/Track.java
examples/sjm/examples/book/track/TrackException.java
examples/sjm/examples/book/utensil/FileString.java
examples/sjm/examples/book/utensil/LimitingLinearCalculator.java
examples/sjm/examples/book/utensil/LinearCalculator.java
examples/sjm/examples/book/utensil/SwingUtensil.java
lib/junit-4.6-src.jar
lib/junit-4.6.jar
lib/mockito-all-1.7.jar
src/sjm/grammar/Grammar.java
src/sjm/grammar/GrammarException.java
src/sjm/grammar/IParserMatched.java
src/sjm/grammar/IParsingResult.java
src/sjm/grammar/LeftRecursionChecker.java
src/sjm/grammar/ParserCollector.java
src/sjm/grammar/ParserMatchedAssembler.java
src/sjm/grammar/ParsingResult.java
src/sjm/grammar/RuleGrammar.java
src/sjm/grammar/RuleReference.java
src/sjm/grammar/rulegrammar.txt
src/sjm/parse/Alternation.java
src/sjm/parse/AssemblerHelper.java
src/sjm/parse/Assembly.java
src/sjm/parse/CollectionParser.java
src/sjm/parse/Empty.java
src/sjm/parse/IAssembler.java
src/sjm/parse/IParser.java
src/sjm/parse/Parser.java
src/sjm/parse/ParserTester.java
src/sjm/parse/ParserVisitor.java
src/sjm/parse/PubliclyCloneable.java
src/sjm/parse/Repetition.java
src/sjm/parse/Sequence.java
src/sjm/parse/Terminal.java
src/sjm/parse/chars/Char.java
src/sjm/parse/chars/CharacterAssembly.java
src/sjm/parse/chars/CharacterTester.java
src/sjm/parse/chars/Digit.java
src/sjm/parse/chars/Letter.java
src/sjm/parse/chars/SpecificChar.java
src/sjm/parse/tokens/CaselessLiteral.java
src/sjm/parse/tokens/ITokenizer.java
src/sjm/parse/tokens/Int.java
src/sjm/parse/tokens/Literal.java
src/sjm/parse/tokens/LowerCaseWord.java
src/sjm/parse/tokens/Num.java
src/sjm/parse/tokens/NumberState.java
src/sjm/parse/tokens/QuoteState.java
src/sjm/parse/tokens/QuotedString.java
src/sjm/parse/tokens/SlashSlashState.java
src/sjm/parse/tokens/SlashStarState.java
src/sjm/parse/tokens/SlashState.java
src/sjm/parse/tokens/Symbol.java
src/sjm/parse/tokens/SymbolNode.java
src/sjm/parse/tokens/SymbolRootNode.java
src/sjm/parse/tokens/SymbolState.java
src/sjm/parse/tokens/Token.java
src/sjm/parse/tokens/TokenAssembly.java
src/sjm/parse/tokens/TokenString.java
src/sjm/parse/tokens/TokenStringSource.java
src/sjm/parse/tokens/TokenTester.java
src/sjm/parse/tokens/TokenType.java
src/sjm/parse/tokens/Tokenizer.java
src/sjm/parse/tokens/TokenizerState.java
src/sjm/parse/tokens/UpperCaseWord.java
src/sjm/parse/tokens/WhitespaceState.java
src/sjm/parse/tokens/Word.java
src/sjm/parse/tokens/WordState.java
tests/sjm/grammar/GrammarTest.java
tests/sjm/grammar/LeftRecursionCheckerTest.java
tests/sjm/grammar/ParserMatchedAssemblerTest.java
tests/sjm/grammar/RuleGrammarTest.java
tests/sjm/parse/AbstractParsingTest.java
tests/sjm/parse/AlternationTest.java
tests/sjm/parse/CaselessLiteralTest.java
tests/sjm/parse/IntTest.java
tests/sjm/parse/LiteralTest.java
tests/sjm/parse/PopAllMatchesTest.java
tests/sjm/parse/RepetitionTest.java
tests/sjm/parse/SequenceTest.java
tests/sjm/parse/TokenAsTypeTest.java
tests/sjm/parse/TokenizerTest.java

Download

Click the following link to download Parse4SJM-master.zip.

Parse4SJM-master.zip




















Home »
  Java Free Code »
    Framework »




Framework
Framework Algorithm
Framework BlackBerry
Framework Collection
Framework Commandline
Framework Concurrency
Framework IRC
Framework LightWeight
Framework Log
Framework MediaPlayer
Framework MVC
Framework Network
Framework RPC
Framework Server
Framework UI