From d5e0b5464526721f0cb7590e25f68153a2d3708d Mon Sep 17 00:00:00 2001 From: lyc Date: Mon, 2 Dec 2024 22:32:57 +0800 Subject: [PATCH] style --- 3rd/CMakeLists.txt | 8 -- CMakeLists.txt | 25 ++---- antlr/CMakeLists.txt | 8 ++ {3rd => antlr}/antlr-4.9.3-complete.jar | Bin .../antlr4-runtime/src/ANTLRErrorListener.cpp | 0 .../antlr4-runtime/src/ANTLRErrorListener.h | 0 .../antlr4-runtime/src/ANTLRErrorStrategy.cpp | 0 .../antlr4-runtime/src/ANTLRErrorStrategy.h | 0 .../antlr4-runtime/src/ANTLRFileStream.cpp | 0 .../antlr4-runtime/src/ANTLRFileStream.h | 0 .../antlr4-runtime/src/ANTLRInputStream.cpp | 0 .../antlr4-runtime/src/ANTLRInputStream.h | 0 .../antlr4-runtime/src/BailErrorStrategy.cpp | 0 .../antlr4-runtime/src/BailErrorStrategy.h | 0 .../antlr4-runtime/src/BaseErrorListener.cpp | 0 .../antlr4-runtime/src/BaseErrorListener.h | 0 .../src/BufferedTokenStream.cpp | 0 .../antlr4-runtime/src/BufferedTokenStream.h | 0 .../antlr4-runtime/src/CharStream.cpp | 0 .../antlr4-runtime/src/CharStream.h | 0 .../antlr4-runtime/src/CommonToken.cpp | 0 .../antlr4-runtime/src/CommonToken.h | 0 .../antlr4-runtime/src/CommonTokenFactory.cpp | 0 .../antlr4-runtime/src/CommonTokenFactory.h | 0 .../antlr4-runtime/src/CommonTokenStream.cpp | 0 .../antlr4-runtime/src/CommonTokenStream.h | 0 .../src/ConsoleErrorListener.cpp | 0 .../antlr4-runtime/src/ConsoleErrorListener.h | 0 .../src/DefaultErrorStrategy.cpp | 0 .../antlr4-runtime/src/DefaultErrorStrategy.h | 0 .../src/DiagnosticErrorListener.cpp | 0 .../src/DiagnosticErrorListener.h | 0 .../antlr4-runtime/src/Exceptions.cpp | 0 .../antlr4-runtime/src/Exceptions.h | 0 .../src/FailedPredicateException.cpp | 0 .../src/FailedPredicateException.h | 0 .../src/InputMismatchException.cpp | 0 .../src/InputMismatchException.h | 0 .../antlr4-runtime/src/IntStream.cpp | 0 {3rd => antlr}/antlr4-runtime/src/IntStream.h | 0 .../src/InterpreterRuleContext.cpp | 0 .../src/InterpreterRuleContext.h | 0 {3rd => antlr}/antlr4-runtime/src/Lexer.cpp | 0 {3rd => antlr}/antlr4-runtime/src/Lexer.h | 0 .../antlr4-runtime/src/LexerInterpreter.cpp | 0 .../antlr4-runtime/src/LexerInterpreter.h | 0 .../src/LexerNoViableAltException.cpp | 0 .../src/LexerNoViableAltException.h | 0 .../antlr4-runtime/src/ListTokenSource.cpp | 0 .../antlr4-runtime/src/ListTokenSource.h | 0 .../src/NoViableAltException.cpp | 0 .../antlr4-runtime/src/NoViableAltException.h | 0 {3rd => antlr}/antlr4-runtime/src/Parser.cpp | 0 {3rd => antlr}/antlr4-runtime/src/Parser.h | 0 .../antlr4-runtime/src/ParserInterpreter.cpp | 0 .../antlr4-runtime/src/ParserInterpreter.h | 0 .../antlr4-runtime/src/ParserRuleContext.cpp | 0 .../antlr4-runtime/src/ParserRuleContext.h | 0 .../antlr4-runtime/src/ProxyErrorListener.cpp | 0 .../antlr4-runtime/src/ProxyErrorListener.h | 0 .../src/RecognitionException.cpp | 0 .../antlr4-runtime/src/RecognitionException.h | 0 .../antlr4-runtime/src/Recognizer.cpp | 0 .../antlr4-runtime/src/Recognizer.h | 0 .../antlr4-runtime/src/RuleContext.cpp | 0 .../antlr4-runtime/src/RuleContext.h | 0 .../src/RuleContextWithAltNum.cpp | 0 .../src/RuleContextWithAltNum.h | 0 .../antlr4-runtime/src/RuntimeMetaData.cpp | 0 .../antlr4-runtime/src/RuntimeMetaData.h | 0 {3rd => antlr}/antlr4-runtime/src/Token.cpp | 0 {3rd => antlr}/antlr4-runtime/src/Token.h | 0 .../antlr4-runtime/src/TokenFactory.h | 0 .../antlr4-runtime/src/TokenSource.cpp | 0 .../antlr4-runtime/src/TokenSource.h | 0 .../antlr4-runtime/src/TokenStream.cpp | 0 .../antlr4-runtime/src/TokenStream.h | 0 .../src/TokenStreamRewriter.cpp | 0 .../antlr4-runtime/src/TokenStreamRewriter.h | 0 .../src/UnbufferedCharStream.cpp | 0 .../antlr4-runtime/src/UnbufferedCharStream.h | 0 .../src/UnbufferedTokenStream.cpp | 0 .../src/UnbufferedTokenStream.h | 0 .../antlr4-runtime/src/Vocabulary.cpp | 0 .../antlr4-runtime/src/Vocabulary.h | 0 .../antlr4-runtime/src/WritableToken.cpp | 0 .../antlr4-runtime/src/WritableToken.h | 0 .../antlr4-runtime/src/antlr4-common.h | 0 .../antlr4-runtime/src/antlr4-runtime.h | 0 {3rd => antlr}/antlr4-runtime/src/atn/ATN.cpp | 0 {3rd => antlr}/antlr4-runtime/src/atn/ATN.h | 0 .../antlr4-runtime/src/atn/ATNConfig.cpp | 0 .../antlr4-runtime/src/atn/ATNConfig.h | 0 .../antlr4-runtime/src/atn/ATNConfigSet.cpp | 0 .../antlr4-runtime/src/atn/ATNConfigSet.h | 0 .../src/atn/ATNDeserializationOptions.cpp | 0 .../src/atn/ATNDeserializationOptions.h | 0 .../src/atn/ATNDeserializer.cpp | 0 .../antlr4-runtime/src/atn/ATNDeserializer.h | 0 .../antlr4-runtime/src/atn/ATNSerializer.cpp | 0 .../antlr4-runtime/src/atn/ATNSerializer.h | 0 .../antlr4-runtime/src/atn/ATNSimulator.cpp | 0 .../antlr4-runtime/src/atn/ATNSimulator.h | 0 .../antlr4-runtime/src/atn/ATNState.cpp | 0 .../antlr4-runtime/src/atn/ATNState.h | 0 .../antlr4-runtime/src/atn/ATNType.h | 0 .../src/atn/AbstractPredicateTransition.cpp | 0 .../src/atn/AbstractPredicateTransition.h | 0 .../src/atn/ActionTransition.cpp | 0 .../antlr4-runtime/src/atn/ActionTransition.h | 0 .../antlr4-runtime/src/atn/AmbiguityInfo.cpp | 0 .../antlr4-runtime/src/atn/AmbiguityInfo.h | 0 .../src/atn/ArrayPredictionContext.cpp | 0 .../src/atn/ArrayPredictionContext.h | 0 .../antlr4-runtime/src/atn/AtomTransition.cpp | 0 .../antlr4-runtime/src/atn/AtomTransition.h | 0 .../src/atn/BasicBlockStartState.cpp | 0 .../src/atn/BasicBlockStartState.h | 0 .../antlr4-runtime/src/atn/BasicState.cpp | 0 .../antlr4-runtime/src/atn/BasicState.h | 0 .../antlr4-runtime/src/atn/BlockEndState.cpp | 0 .../antlr4-runtime/src/atn/BlockEndState.h | 0 .../src/atn/BlockStartState.cpp | 0 .../antlr4-runtime/src/atn/BlockStartState.h | 0 .../src/atn/ContextSensitivityInfo.cpp | 0 .../src/atn/ContextSensitivityInfo.h | 0 .../src/atn/DecisionEventInfo.cpp | 0 .../src/atn/DecisionEventInfo.h | 0 .../antlr4-runtime/src/atn/DecisionInfo.cpp | 0 .../antlr4-runtime/src/atn/DecisionInfo.h | 0 .../antlr4-runtime/src/atn/DecisionState.cpp | 0 .../antlr4-runtime/src/atn/DecisionState.h | 0 .../src/atn/EmptyPredictionContext.cpp | 0 .../src/atn/EmptyPredictionContext.h | 0 .../src/atn/EpsilonTransition.cpp | 0 .../src/atn/EpsilonTransition.h | 0 .../antlr4-runtime/src/atn/ErrorInfo.cpp | 0 .../antlr4-runtime/src/atn/ErrorInfo.h | 0 .../antlr4-runtime/src/atn/LL1Analyzer.cpp | 0 .../antlr4-runtime/src/atn/LL1Analyzer.h | 0 .../antlr4-runtime/src/atn/LexerATNConfig.cpp | 0 .../antlr4-runtime/src/atn/LexerATNConfig.h | 0 .../src/atn/LexerATNSimulator.cpp | 0 .../src/atn/LexerATNSimulator.h | 0 .../antlr4-runtime/src/atn/LexerAction.cpp | 0 .../antlr4-runtime/src/atn/LexerAction.h | 0 .../src/atn/LexerActionExecutor.cpp | 0 .../src/atn/LexerActionExecutor.h | 0 .../antlr4-runtime/src/atn/LexerActionType.h | 0 .../src/atn/LexerChannelAction.cpp | 0 .../src/atn/LexerChannelAction.h | 0 .../src/atn/LexerCustomAction.cpp | 0 .../src/atn/LexerCustomAction.h | 0 .../src/atn/LexerIndexedCustomAction.cpp | 0 .../src/atn/LexerIndexedCustomAction.h | 0 .../src/atn/LexerModeAction.cpp | 0 .../antlr4-runtime/src/atn/LexerModeAction.h | 0 .../src/atn/LexerMoreAction.cpp | 0 .../antlr4-runtime/src/atn/LexerMoreAction.h | 0 .../src/atn/LexerPopModeAction.cpp | 0 .../src/atn/LexerPopModeAction.h | 0 .../src/atn/LexerPushModeAction.cpp | 0 .../src/atn/LexerPushModeAction.h | 0 .../src/atn/LexerSkipAction.cpp | 0 .../antlr4-runtime/src/atn/LexerSkipAction.h | 0 .../src/atn/LexerTypeAction.cpp | 0 .../antlr4-runtime/src/atn/LexerTypeAction.h | 0 .../src/atn/LookaheadEventInfo.cpp | 0 .../src/atn/LookaheadEventInfo.h | 0 .../antlr4-runtime/src/atn/LoopEndState.cpp | 0 .../antlr4-runtime/src/atn/LoopEndState.h | 0 .../antlr4-runtime/src/atn/Makefile | 0 .../src/atn/NotSetTransition.cpp | 0 .../antlr4-runtime/src/atn/NotSetTransition.h | 0 .../src/atn/OrderedATNConfigSet.cpp | 0 .../src/atn/OrderedATNConfigSet.h | 0 .../antlr4-runtime/src/atn/ParseInfo.cpp | 0 .../antlr4-runtime/src/atn/ParseInfo.h | 0 .../src/atn/ParserATNSimulator.cpp | 0 .../src/atn/ParserATNSimulator.h | 2 +- .../src/atn/PlusBlockStartState.cpp | 0 .../src/atn/PlusBlockStartState.h | 0 .../src/atn/PlusLoopbackState.cpp | 0 .../src/atn/PlusLoopbackState.h | 0 .../src/atn/PrecedencePredicateTransition.cpp | 0 .../src/atn/PrecedencePredicateTransition.h | 0 .../src/atn/PredicateEvalInfo.cpp | 0 .../src/atn/PredicateEvalInfo.h | 0 .../src/atn/PredicateTransition.cpp | 0 .../src/atn/PredicateTransition.h | 0 .../src/atn/PredictionContext.cpp | 0 .../src/atn/PredictionContext.h | 0 .../antlr4-runtime/src/atn/PredictionMode.cpp | 0 .../antlr4-runtime/src/atn/PredictionMode.h | 0 .../src/atn/ProfilingATNSimulator.cpp | 0 .../src/atn/ProfilingATNSimulator.h | 0 .../src/atn/RangeTransition.cpp | 0 .../antlr4-runtime/src/atn/RangeTransition.h | 0 .../antlr4-runtime/src/atn/RuleStartState.cpp | 0 .../antlr4-runtime/src/atn/RuleStartState.h | 0 .../antlr4-runtime/src/atn/RuleStopState.cpp | 0 .../antlr4-runtime/src/atn/RuleStopState.h | 0 .../antlr4-runtime/src/atn/RuleTransition.cpp | 0 .../antlr4-runtime/src/atn/RuleTransition.h | 0 .../src/atn/SemanticContext.cpp | 0 .../antlr4-runtime/src/atn/SemanticContext.h | 0 .../antlr4-runtime/src/atn/SetTransition.cpp | 0 .../antlr4-runtime/src/atn/SetTransition.h | 0 .../src/atn/SingletonPredictionContext.cpp | 0 .../src/atn/SingletonPredictionContext.h | 0 .../src/atn/StarBlockStartState.cpp | 0 .../src/atn/StarBlockStartState.h | 0 .../src/atn/StarLoopEntryState.cpp | 0 .../src/atn/StarLoopEntryState.h | 0 .../src/atn/StarLoopbackState.cpp | 0 .../src/atn/StarLoopbackState.h | 0 .../src/atn/TokensStartState.cpp | 0 .../antlr4-runtime/src/atn/TokensStartState.h | 0 .../antlr4-runtime/src/atn/Transition.cpp | 0 .../antlr4-runtime/src/atn/Transition.h | 0 .../src/atn/WildcardTransition.cpp | 0 .../src/atn/WildcardTransition.h | 0 {3rd => antlr}/antlr4-runtime/src/dfa/DFA.cpp | 0 {3rd => antlr}/antlr4-runtime/src/dfa/DFA.h | 0 .../antlr4-runtime/src/dfa/DFASerializer.cpp | 0 .../antlr4-runtime/src/dfa/DFASerializer.h | 0 .../antlr4-runtime/src/dfa/DFAState.cpp | 0 .../antlr4-runtime/src/dfa/DFAState.h | 0 .../src/dfa/LexerDFASerializer.cpp | 0 .../src/dfa/LexerDFASerializer.h | 0 .../src/misc/InterpreterDataReader.cpp | 0 .../src/misc/InterpreterDataReader.h | 0 .../antlr4-runtime/src/misc/Interval.cpp | 0 .../antlr4-runtime/src/misc/Interval.h | 0 .../antlr4-runtime/src/misc/IntervalSet.cpp | 0 .../antlr4-runtime/src/misc/IntervalSet.h | 0 .../antlr4-runtime/src/misc/MurmurHash.cpp | 0 .../antlr4-runtime/src/misc/MurmurHash.h | 0 .../antlr4-runtime/src/misc/Predicate.cpp | 0 .../antlr4-runtime/src/misc/Predicate.h | 0 .../antlr4-runtime/src/support/Any.cpp | 0 .../antlr4-runtime/src/support/Any.h | 0 .../antlr4-runtime/src/support/Arrays.cpp | 0 .../antlr4-runtime/src/support/Arrays.h | 0 .../antlr4-runtime/src/support/BitSet.h | 0 .../antlr4-runtime/src/support/CPPUtils.cpp | 0 .../antlr4-runtime/src/support/CPPUtils.h | 0 .../antlr4-runtime/src/support/Casts.h | 0 .../antlr4-runtime/src/support/Declarations.h | 0 .../antlr4-runtime/src/support/Guid.cpp | 0 .../antlr4-runtime/src/support/Guid.h | 0 .../src/support/StringUtils.cpp | 0 .../antlr4-runtime/src/support/StringUtils.h | 0 .../src/tree/AbstractParseTreeVisitor.h | 0 .../antlr4-runtime/src/tree/ErrorNode.cpp | 0 .../antlr4-runtime/src/tree/ErrorNode.h | 0 .../antlr4-runtime/src/tree/ErrorNodeImpl.cpp | 0 .../antlr4-runtime/src/tree/ErrorNodeImpl.h | 0 .../src/tree/IterativeParseTreeWalker.cpp | 0 .../src/tree/IterativeParseTreeWalker.h | 0 .../antlr4-runtime/src/tree/ParseTree.cpp | 0 .../antlr4-runtime/src/tree/ParseTree.h | 0 .../src/tree/ParseTreeListener.cpp | 0 .../src/tree/ParseTreeListener.h | 0 .../src/tree/ParseTreeProperty.h | 0 .../src/tree/ParseTreeVisitor.cpp | 0 .../src/tree/ParseTreeVisitor.h | 0 .../src/tree/ParseTreeWalker.cpp | 0 .../antlr4-runtime/src/tree/ParseTreeWalker.h | 0 .../antlr4-runtime/src/tree/TerminalNode.cpp | 0 .../antlr4-runtime/src/tree/TerminalNode.h | 0 .../src/tree/TerminalNodeImpl.cpp | 0 .../src/tree/TerminalNodeImpl.h | 0 .../antlr4-runtime/src/tree/Trees.cpp | 0 .../antlr4-runtime/src/tree/Trees.h | 0 .../antlr4-runtime/src/tree/pattern/Chunk.cpp | 0 .../antlr4-runtime/src/tree/pattern/Chunk.h | 0 .../src/tree/pattern/ParseTreeMatch.cpp | 0 .../src/tree/pattern/ParseTreeMatch.h | 0 .../src/tree/pattern/ParseTreePattern.cpp | 0 .../src/tree/pattern/ParseTreePattern.h | 0 .../tree/pattern/ParseTreePatternMatcher.cpp | 0 .../tree/pattern/ParseTreePatternMatcher.h | 0 .../src/tree/pattern/RuleTagToken.cpp | 0 .../src/tree/pattern/RuleTagToken.h | 0 .../src/tree/pattern/TagChunk.cpp | 0 .../src/tree/pattern/TagChunk.h | 0 .../src/tree/pattern/TextChunk.cpp | 0 .../src/tree/pattern/TextChunk.h | 0 .../src/tree/pattern/TokenTagToken.cpp | 0 .../src/tree/pattern/TokenTagToken.h | 0 .../antlr4-runtime/src/tree/xpath/XPath.cpp | 0 .../antlr4-runtime/src/tree/xpath/XPath.h | 0 .../src/tree/xpath/XPathElement.cpp | 0 .../src/tree/xpath/XPathElement.h | 0 .../src/tree/xpath/XPathLexer.cpp | 0 .../src/tree/xpath/XPathLexer.g4 | 0 .../src/tree/xpath/XPathLexer.h | 0 .../src/tree/xpath/XPathLexer.tokens | 0 .../tree/xpath/XPathLexerErrorListener.cpp | 0 .../src/tree/xpath/XPathLexerErrorListener.h | 0 .../tree/xpath/XPathRuleAnywhereElement.cpp | 0 .../src/tree/xpath/XPathRuleAnywhereElement.h | 0 .../src/tree/xpath/XPathRuleElement.cpp | 0 .../src/tree/xpath/XPathRuleElement.h | 0 .../tree/xpath/XPathTokenAnywhereElement.cpp | 0 .../tree/xpath/XPathTokenAnywhereElement.h | 0 .../src/tree/xpath/XPathTokenElement.cpp | 0 .../src/tree/xpath/XPathTokenElement.h | 0 .../xpath/XPathWildcardAnywhereElement.cpp | 0 .../tree/xpath/XPathWildcardAnywhereElement.h | 0 .../src/tree/xpath/XPathWildcardElement.cpp | 0 .../src/tree/xpath/XPathWildcardElement.h | 0 src/ICG/CMakeLists.txt | 6 +- {demo => test}/01assign.go | 0 {demo => test}/02calculate.go | 0 {demo => test}/03if.go | 0 {demo => test}/04for.go | 0 {demo => test}/05func.go | 0 {demo => test}/06array.go | 0 test/CMakeLists.txt | 6 -- test/Common/CMakeLists.txt | 3 - test/Common/symbol.cpp | 21 ----- test/TCG/CMakeLists.txt | 3 - test/TCG/SymbolManager.cpp | 74 ------------------ {demo => test}/error01.go | 0 test/icg.cpp | 30 ------- {demo => test}/print.asm | 0 {demo => test}/simple.go | 0 {demo => test}/test.go | 0 {demo => test}/test2.go | 0 {demo => test}/test3.go | 0 {demo => test}/test4.go | 0 test_all.sh | 39 ++++++--- 334 files changed, 47 insertions(+), 178 deletions(-) delete mode 100644 3rd/CMakeLists.txt create mode 100644 antlr/CMakeLists.txt rename {3rd => antlr}/antlr-4.9.3-complete.jar (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRErrorListener.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRErrorListener.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRErrorStrategy.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRErrorStrategy.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRFileStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRFileStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRInputStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ANTLRInputStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/BailErrorStrategy.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/BailErrorStrategy.h (100%) rename {3rd => antlr}/antlr4-runtime/src/BaseErrorListener.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/BaseErrorListener.h (100%) rename {3rd => antlr}/antlr4-runtime/src/BufferedTokenStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/BufferedTokenStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/CharStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/CharStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/CommonToken.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/CommonToken.h (100%) rename {3rd => antlr}/antlr4-runtime/src/CommonTokenFactory.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/CommonTokenFactory.h (100%) rename {3rd => antlr}/antlr4-runtime/src/CommonTokenStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/CommonTokenStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ConsoleErrorListener.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ConsoleErrorListener.h (100%) rename {3rd => antlr}/antlr4-runtime/src/DefaultErrorStrategy.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/DefaultErrorStrategy.h (100%) rename {3rd => antlr}/antlr4-runtime/src/DiagnosticErrorListener.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/DiagnosticErrorListener.h (100%) rename {3rd => antlr}/antlr4-runtime/src/Exceptions.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/Exceptions.h (100%) rename {3rd => antlr}/antlr4-runtime/src/FailedPredicateException.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/FailedPredicateException.h (100%) rename {3rd => antlr}/antlr4-runtime/src/InputMismatchException.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/InputMismatchException.h (100%) rename {3rd => antlr}/antlr4-runtime/src/IntStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/IntStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/InterpreterRuleContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/InterpreterRuleContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/Lexer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/Lexer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/LexerInterpreter.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/LexerInterpreter.h (100%) rename {3rd => antlr}/antlr4-runtime/src/LexerNoViableAltException.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/LexerNoViableAltException.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ListTokenSource.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ListTokenSource.h (100%) rename {3rd => antlr}/antlr4-runtime/src/NoViableAltException.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/NoViableAltException.h (100%) rename {3rd => antlr}/antlr4-runtime/src/Parser.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/Parser.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ParserInterpreter.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ParserInterpreter.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ParserRuleContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ParserRuleContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/ProxyErrorListener.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/ProxyErrorListener.h (100%) rename {3rd => antlr}/antlr4-runtime/src/RecognitionException.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/RecognitionException.h (100%) rename {3rd => antlr}/antlr4-runtime/src/Recognizer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/Recognizer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/RuleContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/RuleContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/RuleContextWithAltNum.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/RuleContextWithAltNum.h (100%) rename {3rd => antlr}/antlr4-runtime/src/RuntimeMetaData.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/RuntimeMetaData.h (100%) rename {3rd => antlr}/antlr4-runtime/src/Token.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/Token.h (100%) rename {3rd => antlr}/antlr4-runtime/src/TokenFactory.h (100%) rename {3rd => antlr}/antlr4-runtime/src/TokenSource.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/TokenSource.h (100%) rename {3rd => antlr}/antlr4-runtime/src/TokenStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/TokenStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/TokenStreamRewriter.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/TokenStreamRewriter.h (100%) rename {3rd => antlr}/antlr4-runtime/src/UnbufferedCharStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/UnbufferedCharStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/UnbufferedTokenStream.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/UnbufferedTokenStream.h (100%) rename {3rd => antlr}/antlr4-runtime/src/Vocabulary.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/Vocabulary.h (100%) rename {3rd => antlr}/antlr4-runtime/src/WritableToken.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/WritableToken.h (100%) rename {3rd => antlr}/antlr4-runtime/src/antlr4-common.h (100%) rename {3rd => antlr}/antlr4-runtime/src/antlr4-runtime.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATN.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATN.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNConfig.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNConfig.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNConfigSet.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNConfigSet.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNDeserializationOptions.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNDeserializationOptions.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNDeserializer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNDeserializer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNSerializer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNSerializer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNSimulator.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNSimulator.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ATNType.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/AbstractPredicateTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/AbstractPredicateTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ActionTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ActionTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/AmbiguityInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/AmbiguityInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ArrayPredictionContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ArrayPredictionContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/AtomTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/AtomTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BasicBlockStartState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BasicBlockStartState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BasicState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BasicState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BlockEndState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BlockEndState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BlockStartState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/BlockStartState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ContextSensitivityInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ContextSensitivityInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/DecisionEventInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/DecisionEventInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/DecisionInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/DecisionInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/DecisionState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/DecisionState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/EmptyPredictionContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/EmptyPredictionContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/EpsilonTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/EpsilonTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ErrorInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ErrorInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LL1Analyzer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LL1Analyzer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerATNConfig.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerATNConfig.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerATNSimulator.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerATNSimulator.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerActionExecutor.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerActionExecutor.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerActionType.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerChannelAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerChannelAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerCustomAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerCustomAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerIndexedCustomAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerIndexedCustomAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerModeAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerModeAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerMoreAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerMoreAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerPopModeAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerPopModeAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerPushModeAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerPushModeAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerSkipAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerSkipAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerTypeAction.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LexerTypeAction.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LookaheadEventInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LookaheadEventInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LoopEndState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/LoopEndState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/Makefile (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/NotSetTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/NotSetTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/OrderedATNConfigSet.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/OrderedATNConfigSet.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ParseInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ParseInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ParserATNSimulator.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ParserATNSimulator.h (99%) rename {3rd => antlr}/antlr4-runtime/src/atn/PlusBlockStartState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PlusBlockStartState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PlusLoopbackState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PlusLoopbackState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PrecedencePredicateTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PrecedencePredicateTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredicateEvalInfo.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredicateEvalInfo.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredicateTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredicateTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredictionContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredictionContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredictionMode.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/PredictionMode.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ProfilingATNSimulator.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/ProfilingATNSimulator.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RangeTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RangeTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RuleStartState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RuleStartState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RuleStopState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RuleStopState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RuleTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/RuleTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/SemanticContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/SemanticContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/SetTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/SetTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/SingletonPredictionContext.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/SingletonPredictionContext.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/StarBlockStartState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/StarBlockStartState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/StarLoopEntryState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/StarLoopEntryState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/StarLoopbackState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/StarLoopbackState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/TokensStartState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/TokensStartState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/Transition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/Transition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/WildcardTransition.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/atn/WildcardTransition.h (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/DFA.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/DFA.h (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/DFASerializer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/DFASerializer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/DFAState.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/DFAState.h (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/LexerDFASerializer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/dfa/LexerDFASerializer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/InterpreterDataReader.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/InterpreterDataReader.h (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/Interval.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/Interval.h (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/IntervalSet.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/IntervalSet.h (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/MurmurHash.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/MurmurHash.h (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/Predicate.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/misc/Predicate.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Any.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Any.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Arrays.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Arrays.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/BitSet.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/CPPUtils.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/support/CPPUtils.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Casts.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Declarations.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Guid.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/support/Guid.h (100%) rename {3rd => antlr}/antlr4-runtime/src/support/StringUtils.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/support/StringUtils.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/AbstractParseTreeVisitor.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ErrorNode.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ErrorNode.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ErrorNodeImpl.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ErrorNodeImpl.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/IterativeParseTreeWalker.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/IterativeParseTreeWalker.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTree.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTree.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTreeListener.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTreeListener.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTreeProperty.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTreeVisitor.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTreeVisitor.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTreeWalker.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/ParseTreeWalker.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/TerminalNode.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/TerminalNode.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/TerminalNodeImpl.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/TerminalNodeImpl.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/Trees.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/Trees.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/Chunk.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/Chunk.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/ParseTreeMatch.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/ParseTreeMatch.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/ParseTreePattern.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/ParseTreePattern.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/RuleTagToken.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/RuleTagToken.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/TagChunk.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/TagChunk.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/TextChunk.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/TextChunk.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/TokenTagToken.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/pattern/TokenTagToken.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPath.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPath.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathElement.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathElement.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathLexer.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathLexer.g4 (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathLexer.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathLexer.tokens (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathRuleElement.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathRuleElement.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathTokenElement.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathTokenElement.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.h (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathWildcardElement.cpp (100%) rename {3rd => antlr}/antlr4-runtime/src/tree/xpath/XPathWildcardElement.h (100%) rename {demo => test}/01assign.go (100%) rename {demo => test}/02calculate.go (100%) rename {demo => test}/03if.go (100%) rename {demo => test}/04for.go (100%) rename {demo => test}/05func.go (100%) rename {demo => test}/06array.go (100%) delete mode 100644 test/CMakeLists.txt delete mode 100644 test/Common/CMakeLists.txt delete mode 100644 test/Common/symbol.cpp delete mode 100644 test/TCG/CMakeLists.txt delete mode 100644 test/TCG/SymbolManager.cpp rename {demo => test}/error01.go (100%) delete mode 100644 test/icg.cpp rename {demo => test}/print.asm (100%) rename {demo => test}/simple.go (100%) rename {demo => test}/test.go (100%) rename {demo => test}/test2.go (100%) rename {demo => test}/test3.go (100%) rename {demo => test}/test4.go (100%) diff --git a/3rd/CMakeLists.txt b/3rd/CMakeLists.txt deleted file mode 100644 index 5f09519..0000000 --- a/3rd/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -file(GLOB_RECURSE src_lib_antlr4 ${CMAKE_SOURCE_DIR}/3rd/antlr4-runtime/src/*.cpp) -add_library(3rd - ${src_lib_antlr4} -) - -target_include_directories(3rd PUBLIC - ${CMAKE_SOURCE_DIR}/3rd/antlr4-runtime/src -) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f98903..c060257 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,43 +1,28 @@ cmake_minimum_required(VERSION 3.5) -project(tjugo) +project(LiteGoCompiler) set(CMAKE_CXX_STANDARD 11) set(CMAKE_BUILD_TYPE Release) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w -O3 -g") -enable_testing() - # library in subdirectory -add_subdirectory(3rd) +add_subdirectory(antlr) add_subdirectory(src) # excutable -add_executable(tjugo main.cpp) +add_executable(LiteGoCompiler main.cpp) -target_include_directories(tjugo +target_include_directories(LiteGoCompiler PUBLIC ${CMAKE_SOURCE_DIR}/include ) -target_link_libraries(tjugo +target_link_libraries(LiteGoCompiler PUBLIC common icg tcg ) - - -# install -install(TARGETS tjugo 3rd common icg tcg - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -) - -file(GLOB_RECURSE demo ${CMAKE_SOURCE_DIR}/demo/*) -install(FILES ${demo} - TYPE DOC -) diff --git a/antlr/CMakeLists.txt b/antlr/CMakeLists.txt new file mode 100644 index 0000000..c8859e9 --- /dev/null +++ b/antlr/CMakeLists.txt @@ -0,0 +1,8 @@ +file(GLOB_RECURSE src_lib_antlr4 ${CMAKE_SOURCE_DIR}/antlr/antlr4-runtime/src/*.cpp) +add_library(antlr + ${src_lib_antlr4} +) + +target_include_directories(antlr PUBLIC + ${CMAKE_SOURCE_DIR}/antlr/antlr4-runtime/src +) diff --git a/3rd/antlr-4.9.3-complete.jar b/antlr/antlr-4.9.3-complete.jar similarity index 100% rename from 3rd/antlr-4.9.3-complete.jar rename to antlr/antlr-4.9.3-complete.jar diff --git a/3rd/antlr4-runtime/src/ANTLRErrorListener.cpp b/antlr/antlr4-runtime/src/ANTLRErrorListener.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRErrorListener.cpp rename to antlr/antlr4-runtime/src/ANTLRErrorListener.cpp diff --git a/3rd/antlr4-runtime/src/ANTLRErrorListener.h b/antlr/antlr4-runtime/src/ANTLRErrorListener.h similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRErrorListener.h rename to antlr/antlr4-runtime/src/ANTLRErrorListener.h diff --git a/3rd/antlr4-runtime/src/ANTLRErrorStrategy.cpp b/antlr/antlr4-runtime/src/ANTLRErrorStrategy.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRErrorStrategy.cpp rename to antlr/antlr4-runtime/src/ANTLRErrorStrategy.cpp diff --git a/3rd/antlr4-runtime/src/ANTLRErrorStrategy.h b/antlr/antlr4-runtime/src/ANTLRErrorStrategy.h similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRErrorStrategy.h rename to antlr/antlr4-runtime/src/ANTLRErrorStrategy.h diff --git a/3rd/antlr4-runtime/src/ANTLRFileStream.cpp b/antlr/antlr4-runtime/src/ANTLRFileStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRFileStream.cpp rename to antlr/antlr4-runtime/src/ANTLRFileStream.cpp diff --git a/3rd/antlr4-runtime/src/ANTLRFileStream.h b/antlr/antlr4-runtime/src/ANTLRFileStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRFileStream.h rename to antlr/antlr4-runtime/src/ANTLRFileStream.h diff --git a/3rd/antlr4-runtime/src/ANTLRInputStream.cpp b/antlr/antlr4-runtime/src/ANTLRInputStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRInputStream.cpp rename to antlr/antlr4-runtime/src/ANTLRInputStream.cpp diff --git a/3rd/antlr4-runtime/src/ANTLRInputStream.h b/antlr/antlr4-runtime/src/ANTLRInputStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/ANTLRInputStream.h rename to antlr/antlr4-runtime/src/ANTLRInputStream.h diff --git a/3rd/antlr4-runtime/src/BailErrorStrategy.cpp b/antlr/antlr4-runtime/src/BailErrorStrategy.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/BailErrorStrategy.cpp rename to antlr/antlr4-runtime/src/BailErrorStrategy.cpp diff --git a/3rd/antlr4-runtime/src/BailErrorStrategy.h b/antlr/antlr4-runtime/src/BailErrorStrategy.h similarity index 100% rename from 3rd/antlr4-runtime/src/BailErrorStrategy.h rename to antlr/antlr4-runtime/src/BailErrorStrategy.h diff --git a/3rd/antlr4-runtime/src/BaseErrorListener.cpp b/antlr/antlr4-runtime/src/BaseErrorListener.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/BaseErrorListener.cpp rename to antlr/antlr4-runtime/src/BaseErrorListener.cpp diff --git a/3rd/antlr4-runtime/src/BaseErrorListener.h b/antlr/antlr4-runtime/src/BaseErrorListener.h similarity index 100% rename from 3rd/antlr4-runtime/src/BaseErrorListener.h rename to antlr/antlr4-runtime/src/BaseErrorListener.h diff --git a/3rd/antlr4-runtime/src/BufferedTokenStream.cpp b/antlr/antlr4-runtime/src/BufferedTokenStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/BufferedTokenStream.cpp rename to antlr/antlr4-runtime/src/BufferedTokenStream.cpp diff --git a/3rd/antlr4-runtime/src/BufferedTokenStream.h b/antlr/antlr4-runtime/src/BufferedTokenStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/BufferedTokenStream.h rename to antlr/antlr4-runtime/src/BufferedTokenStream.h diff --git a/3rd/antlr4-runtime/src/CharStream.cpp b/antlr/antlr4-runtime/src/CharStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/CharStream.cpp rename to antlr/antlr4-runtime/src/CharStream.cpp diff --git a/3rd/antlr4-runtime/src/CharStream.h b/antlr/antlr4-runtime/src/CharStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/CharStream.h rename to antlr/antlr4-runtime/src/CharStream.h diff --git a/3rd/antlr4-runtime/src/CommonToken.cpp b/antlr/antlr4-runtime/src/CommonToken.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/CommonToken.cpp rename to antlr/antlr4-runtime/src/CommonToken.cpp diff --git a/3rd/antlr4-runtime/src/CommonToken.h b/antlr/antlr4-runtime/src/CommonToken.h similarity index 100% rename from 3rd/antlr4-runtime/src/CommonToken.h rename to antlr/antlr4-runtime/src/CommonToken.h diff --git a/3rd/antlr4-runtime/src/CommonTokenFactory.cpp b/antlr/antlr4-runtime/src/CommonTokenFactory.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/CommonTokenFactory.cpp rename to antlr/antlr4-runtime/src/CommonTokenFactory.cpp diff --git a/3rd/antlr4-runtime/src/CommonTokenFactory.h b/antlr/antlr4-runtime/src/CommonTokenFactory.h similarity index 100% rename from 3rd/antlr4-runtime/src/CommonTokenFactory.h rename to antlr/antlr4-runtime/src/CommonTokenFactory.h diff --git a/3rd/antlr4-runtime/src/CommonTokenStream.cpp b/antlr/antlr4-runtime/src/CommonTokenStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/CommonTokenStream.cpp rename to antlr/antlr4-runtime/src/CommonTokenStream.cpp diff --git a/3rd/antlr4-runtime/src/CommonTokenStream.h b/antlr/antlr4-runtime/src/CommonTokenStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/CommonTokenStream.h rename to antlr/antlr4-runtime/src/CommonTokenStream.h diff --git a/3rd/antlr4-runtime/src/ConsoleErrorListener.cpp b/antlr/antlr4-runtime/src/ConsoleErrorListener.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ConsoleErrorListener.cpp rename to antlr/antlr4-runtime/src/ConsoleErrorListener.cpp diff --git a/3rd/antlr4-runtime/src/ConsoleErrorListener.h b/antlr/antlr4-runtime/src/ConsoleErrorListener.h similarity index 100% rename from 3rd/antlr4-runtime/src/ConsoleErrorListener.h rename to antlr/antlr4-runtime/src/ConsoleErrorListener.h diff --git a/3rd/antlr4-runtime/src/DefaultErrorStrategy.cpp b/antlr/antlr4-runtime/src/DefaultErrorStrategy.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/DefaultErrorStrategy.cpp rename to antlr/antlr4-runtime/src/DefaultErrorStrategy.cpp diff --git a/3rd/antlr4-runtime/src/DefaultErrorStrategy.h b/antlr/antlr4-runtime/src/DefaultErrorStrategy.h similarity index 100% rename from 3rd/antlr4-runtime/src/DefaultErrorStrategy.h rename to antlr/antlr4-runtime/src/DefaultErrorStrategy.h diff --git a/3rd/antlr4-runtime/src/DiagnosticErrorListener.cpp b/antlr/antlr4-runtime/src/DiagnosticErrorListener.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/DiagnosticErrorListener.cpp rename to antlr/antlr4-runtime/src/DiagnosticErrorListener.cpp diff --git a/3rd/antlr4-runtime/src/DiagnosticErrorListener.h b/antlr/antlr4-runtime/src/DiagnosticErrorListener.h similarity index 100% rename from 3rd/antlr4-runtime/src/DiagnosticErrorListener.h rename to antlr/antlr4-runtime/src/DiagnosticErrorListener.h diff --git a/3rd/antlr4-runtime/src/Exceptions.cpp b/antlr/antlr4-runtime/src/Exceptions.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/Exceptions.cpp rename to antlr/antlr4-runtime/src/Exceptions.cpp diff --git a/3rd/antlr4-runtime/src/Exceptions.h b/antlr/antlr4-runtime/src/Exceptions.h similarity index 100% rename from 3rd/antlr4-runtime/src/Exceptions.h rename to antlr/antlr4-runtime/src/Exceptions.h diff --git a/3rd/antlr4-runtime/src/FailedPredicateException.cpp b/antlr/antlr4-runtime/src/FailedPredicateException.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/FailedPredicateException.cpp rename to antlr/antlr4-runtime/src/FailedPredicateException.cpp diff --git a/3rd/antlr4-runtime/src/FailedPredicateException.h b/antlr/antlr4-runtime/src/FailedPredicateException.h similarity index 100% rename from 3rd/antlr4-runtime/src/FailedPredicateException.h rename to antlr/antlr4-runtime/src/FailedPredicateException.h diff --git a/3rd/antlr4-runtime/src/InputMismatchException.cpp b/antlr/antlr4-runtime/src/InputMismatchException.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/InputMismatchException.cpp rename to antlr/antlr4-runtime/src/InputMismatchException.cpp diff --git a/3rd/antlr4-runtime/src/InputMismatchException.h b/antlr/antlr4-runtime/src/InputMismatchException.h similarity index 100% rename from 3rd/antlr4-runtime/src/InputMismatchException.h rename to antlr/antlr4-runtime/src/InputMismatchException.h diff --git a/3rd/antlr4-runtime/src/IntStream.cpp b/antlr/antlr4-runtime/src/IntStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/IntStream.cpp rename to antlr/antlr4-runtime/src/IntStream.cpp diff --git a/3rd/antlr4-runtime/src/IntStream.h b/antlr/antlr4-runtime/src/IntStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/IntStream.h rename to antlr/antlr4-runtime/src/IntStream.h diff --git a/3rd/antlr4-runtime/src/InterpreterRuleContext.cpp b/antlr/antlr4-runtime/src/InterpreterRuleContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/InterpreterRuleContext.cpp rename to antlr/antlr4-runtime/src/InterpreterRuleContext.cpp diff --git a/3rd/antlr4-runtime/src/InterpreterRuleContext.h b/antlr/antlr4-runtime/src/InterpreterRuleContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/InterpreterRuleContext.h rename to antlr/antlr4-runtime/src/InterpreterRuleContext.h diff --git a/3rd/antlr4-runtime/src/Lexer.cpp b/antlr/antlr4-runtime/src/Lexer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/Lexer.cpp rename to antlr/antlr4-runtime/src/Lexer.cpp diff --git a/3rd/antlr4-runtime/src/Lexer.h b/antlr/antlr4-runtime/src/Lexer.h similarity index 100% rename from 3rd/antlr4-runtime/src/Lexer.h rename to antlr/antlr4-runtime/src/Lexer.h diff --git a/3rd/antlr4-runtime/src/LexerInterpreter.cpp b/antlr/antlr4-runtime/src/LexerInterpreter.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/LexerInterpreter.cpp rename to antlr/antlr4-runtime/src/LexerInterpreter.cpp diff --git a/3rd/antlr4-runtime/src/LexerInterpreter.h b/antlr/antlr4-runtime/src/LexerInterpreter.h similarity index 100% rename from 3rd/antlr4-runtime/src/LexerInterpreter.h rename to antlr/antlr4-runtime/src/LexerInterpreter.h diff --git a/3rd/antlr4-runtime/src/LexerNoViableAltException.cpp b/antlr/antlr4-runtime/src/LexerNoViableAltException.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/LexerNoViableAltException.cpp rename to antlr/antlr4-runtime/src/LexerNoViableAltException.cpp diff --git a/3rd/antlr4-runtime/src/LexerNoViableAltException.h b/antlr/antlr4-runtime/src/LexerNoViableAltException.h similarity index 100% rename from 3rd/antlr4-runtime/src/LexerNoViableAltException.h rename to antlr/antlr4-runtime/src/LexerNoViableAltException.h diff --git a/3rd/antlr4-runtime/src/ListTokenSource.cpp b/antlr/antlr4-runtime/src/ListTokenSource.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ListTokenSource.cpp rename to antlr/antlr4-runtime/src/ListTokenSource.cpp diff --git a/3rd/antlr4-runtime/src/ListTokenSource.h b/antlr/antlr4-runtime/src/ListTokenSource.h similarity index 100% rename from 3rd/antlr4-runtime/src/ListTokenSource.h rename to antlr/antlr4-runtime/src/ListTokenSource.h diff --git a/3rd/antlr4-runtime/src/NoViableAltException.cpp b/antlr/antlr4-runtime/src/NoViableAltException.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/NoViableAltException.cpp rename to antlr/antlr4-runtime/src/NoViableAltException.cpp diff --git a/3rd/antlr4-runtime/src/NoViableAltException.h b/antlr/antlr4-runtime/src/NoViableAltException.h similarity index 100% rename from 3rd/antlr4-runtime/src/NoViableAltException.h rename to antlr/antlr4-runtime/src/NoViableAltException.h diff --git a/3rd/antlr4-runtime/src/Parser.cpp b/antlr/antlr4-runtime/src/Parser.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/Parser.cpp rename to antlr/antlr4-runtime/src/Parser.cpp diff --git a/3rd/antlr4-runtime/src/Parser.h b/antlr/antlr4-runtime/src/Parser.h similarity index 100% rename from 3rd/antlr4-runtime/src/Parser.h rename to antlr/antlr4-runtime/src/Parser.h diff --git a/3rd/antlr4-runtime/src/ParserInterpreter.cpp b/antlr/antlr4-runtime/src/ParserInterpreter.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ParserInterpreter.cpp rename to antlr/antlr4-runtime/src/ParserInterpreter.cpp diff --git a/3rd/antlr4-runtime/src/ParserInterpreter.h b/antlr/antlr4-runtime/src/ParserInterpreter.h similarity index 100% rename from 3rd/antlr4-runtime/src/ParserInterpreter.h rename to antlr/antlr4-runtime/src/ParserInterpreter.h diff --git a/3rd/antlr4-runtime/src/ParserRuleContext.cpp b/antlr/antlr4-runtime/src/ParserRuleContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ParserRuleContext.cpp rename to antlr/antlr4-runtime/src/ParserRuleContext.cpp diff --git a/3rd/antlr4-runtime/src/ParserRuleContext.h b/antlr/antlr4-runtime/src/ParserRuleContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/ParserRuleContext.h rename to antlr/antlr4-runtime/src/ParserRuleContext.h diff --git a/3rd/antlr4-runtime/src/ProxyErrorListener.cpp b/antlr/antlr4-runtime/src/ProxyErrorListener.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/ProxyErrorListener.cpp rename to antlr/antlr4-runtime/src/ProxyErrorListener.cpp diff --git a/3rd/antlr4-runtime/src/ProxyErrorListener.h b/antlr/antlr4-runtime/src/ProxyErrorListener.h similarity index 100% rename from 3rd/antlr4-runtime/src/ProxyErrorListener.h rename to antlr/antlr4-runtime/src/ProxyErrorListener.h diff --git a/3rd/antlr4-runtime/src/RecognitionException.cpp b/antlr/antlr4-runtime/src/RecognitionException.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/RecognitionException.cpp rename to antlr/antlr4-runtime/src/RecognitionException.cpp diff --git a/3rd/antlr4-runtime/src/RecognitionException.h b/antlr/antlr4-runtime/src/RecognitionException.h similarity index 100% rename from 3rd/antlr4-runtime/src/RecognitionException.h rename to antlr/antlr4-runtime/src/RecognitionException.h diff --git a/3rd/antlr4-runtime/src/Recognizer.cpp b/antlr/antlr4-runtime/src/Recognizer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/Recognizer.cpp rename to antlr/antlr4-runtime/src/Recognizer.cpp diff --git a/3rd/antlr4-runtime/src/Recognizer.h b/antlr/antlr4-runtime/src/Recognizer.h similarity index 100% rename from 3rd/antlr4-runtime/src/Recognizer.h rename to antlr/antlr4-runtime/src/Recognizer.h diff --git a/3rd/antlr4-runtime/src/RuleContext.cpp b/antlr/antlr4-runtime/src/RuleContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/RuleContext.cpp rename to antlr/antlr4-runtime/src/RuleContext.cpp diff --git a/3rd/antlr4-runtime/src/RuleContext.h b/antlr/antlr4-runtime/src/RuleContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/RuleContext.h rename to antlr/antlr4-runtime/src/RuleContext.h diff --git a/3rd/antlr4-runtime/src/RuleContextWithAltNum.cpp b/antlr/antlr4-runtime/src/RuleContextWithAltNum.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/RuleContextWithAltNum.cpp rename to antlr/antlr4-runtime/src/RuleContextWithAltNum.cpp diff --git a/3rd/antlr4-runtime/src/RuleContextWithAltNum.h b/antlr/antlr4-runtime/src/RuleContextWithAltNum.h similarity index 100% rename from 3rd/antlr4-runtime/src/RuleContextWithAltNum.h rename to antlr/antlr4-runtime/src/RuleContextWithAltNum.h diff --git a/3rd/antlr4-runtime/src/RuntimeMetaData.cpp b/antlr/antlr4-runtime/src/RuntimeMetaData.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/RuntimeMetaData.cpp rename to antlr/antlr4-runtime/src/RuntimeMetaData.cpp diff --git a/3rd/antlr4-runtime/src/RuntimeMetaData.h b/antlr/antlr4-runtime/src/RuntimeMetaData.h similarity index 100% rename from 3rd/antlr4-runtime/src/RuntimeMetaData.h rename to antlr/antlr4-runtime/src/RuntimeMetaData.h diff --git a/3rd/antlr4-runtime/src/Token.cpp b/antlr/antlr4-runtime/src/Token.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/Token.cpp rename to antlr/antlr4-runtime/src/Token.cpp diff --git a/3rd/antlr4-runtime/src/Token.h b/antlr/antlr4-runtime/src/Token.h similarity index 100% rename from 3rd/antlr4-runtime/src/Token.h rename to antlr/antlr4-runtime/src/Token.h diff --git a/3rd/antlr4-runtime/src/TokenFactory.h b/antlr/antlr4-runtime/src/TokenFactory.h similarity index 100% rename from 3rd/antlr4-runtime/src/TokenFactory.h rename to antlr/antlr4-runtime/src/TokenFactory.h diff --git a/3rd/antlr4-runtime/src/TokenSource.cpp b/antlr/antlr4-runtime/src/TokenSource.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/TokenSource.cpp rename to antlr/antlr4-runtime/src/TokenSource.cpp diff --git a/3rd/antlr4-runtime/src/TokenSource.h b/antlr/antlr4-runtime/src/TokenSource.h similarity index 100% rename from 3rd/antlr4-runtime/src/TokenSource.h rename to antlr/antlr4-runtime/src/TokenSource.h diff --git a/3rd/antlr4-runtime/src/TokenStream.cpp b/antlr/antlr4-runtime/src/TokenStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/TokenStream.cpp rename to antlr/antlr4-runtime/src/TokenStream.cpp diff --git a/3rd/antlr4-runtime/src/TokenStream.h b/antlr/antlr4-runtime/src/TokenStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/TokenStream.h rename to antlr/antlr4-runtime/src/TokenStream.h diff --git a/3rd/antlr4-runtime/src/TokenStreamRewriter.cpp b/antlr/antlr4-runtime/src/TokenStreamRewriter.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/TokenStreamRewriter.cpp rename to antlr/antlr4-runtime/src/TokenStreamRewriter.cpp diff --git a/3rd/antlr4-runtime/src/TokenStreamRewriter.h b/antlr/antlr4-runtime/src/TokenStreamRewriter.h similarity index 100% rename from 3rd/antlr4-runtime/src/TokenStreamRewriter.h rename to antlr/antlr4-runtime/src/TokenStreamRewriter.h diff --git a/3rd/antlr4-runtime/src/UnbufferedCharStream.cpp b/antlr/antlr4-runtime/src/UnbufferedCharStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/UnbufferedCharStream.cpp rename to antlr/antlr4-runtime/src/UnbufferedCharStream.cpp diff --git a/3rd/antlr4-runtime/src/UnbufferedCharStream.h b/antlr/antlr4-runtime/src/UnbufferedCharStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/UnbufferedCharStream.h rename to antlr/antlr4-runtime/src/UnbufferedCharStream.h diff --git a/3rd/antlr4-runtime/src/UnbufferedTokenStream.cpp b/antlr/antlr4-runtime/src/UnbufferedTokenStream.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/UnbufferedTokenStream.cpp rename to antlr/antlr4-runtime/src/UnbufferedTokenStream.cpp diff --git a/3rd/antlr4-runtime/src/UnbufferedTokenStream.h b/antlr/antlr4-runtime/src/UnbufferedTokenStream.h similarity index 100% rename from 3rd/antlr4-runtime/src/UnbufferedTokenStream.h rename to antlr/antlr4-runtime/src/UnbufferedTokenStream.h diff --git a/3rd/antlr4-runtime/src/Vocabulary.cpp b/antlr/antlr4-runtime/src/Vocabulary.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/Vocabulary.cpp rename to antlr/antlr4-runtime/src/Vocabulary.cpp diff --git a/3rd/antlr4-runtime/src/Vocabulary.h b/antlr/antlr4-runtime/src/Vocabulary.h similarity index 100% rename from 3rd/antlr4-runtime/src/Vocabulary.h rename to antlr/antlr4-runtime/src/Vocabulary.h diff --git a/3rd/antlr4-runtime/src/WritableToken.cpp b/antlr/antlr4-runtime/src/WritableToken.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/WritableToken.cpp rename to antlr/antlr4-runtime/src/WritableToken.cpp diff --git a/3rd/antlr4-runtime/src/WritableToken.h b/antlr/antlr4-runtime/src/WritableToken.h similarity index 100% rename from 3rd/antlr4-runtime/src/WritableToken.h rename to antlr/antlr4-runtime/src/WritableToken.h diff --git a/3rd/antlr4-runtime/src/antlr4-common.h b/antlr/antlr4-runtime/src/antlr4-common.h similarity index 100% rename from 3rd/antlr4-runtime/src/antlr4-common.h rename to antlr/antlr4-runtime/src/antlr4-common.h diff --git a/3rd/antlr4-runtime/src/antlr4-runtime.h b/antlr/antlr4-runtime/src/antlr4-runtime.h similarity index 100% rename from 3rd/antlr4-runtime/src/antlr4-runtime.h rename to antlr/antlr4-runtime/src/antlr4-runtime.h diff --git a/3rd/antlr4-runtime/src/atn/ATN.cpp b/antlr/antlr4-runtime/src/atn/ATN.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATN.cpp rename to antlr/antlr4-runtime/src/atn/ATN.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATN.h b/antlr/antlr4-runtime/src/atn/ATN.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATN.h rename to antlr/antlr4-runtime/src/atn/ATN.h diff --git a/3rd/antlr4-runtime/src/atn/ATNConfig.cpp b/antlr/antlr4-runtime/src/atn/ATNConfig.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNConfig.cpp rename to antlr/antlr4-runtime/src/atn/ATNConfig.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATNConfig.h b/antlr/antlr4-runtime/src/atn/ATNConfig.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNConfig.h rename to antlr/antlr4-runtime/src/atn/ATNConfig.h diff --git a/3rd/antlr4-runtime/src/atn/ATNConfigSet.cpp b/antlr/antlr4-runtime/src/atn/ATNConfigSet.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNConfigSet.cpp rename to antlr/antlr4-runtime/src/atn/ATNConfigSet.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATNConfigSet.h b/antlr/antlr4-runtime/src/atn/ATNConfigSet.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNConfigSet.h rename to antlr/antlr4-runtime/src/atn/ATNConfigSet.h diff --git a/3rd/antlr4-runtime/src/atn/ATNDeserializationOptions.cpp b/antlr/antlr4-runtime/src/atn/ATNDeserializationOptions.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNDeserializationOptions.cpp rename to antlr/antlr4-runtime/src/atn/ATNDeserializationOptions.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATNDeserializationOptions.h b/antlr/antlr4-runtime/src/atn/ATNDeserializationOptions.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNDeserializationOptions.h rename to antlr/antlr4-runtime/src/atn/ATNDeserializationOptions.h diff --git a/3rd/antlr4-runtime/src/atn/ATNDeserializer.cpp b/antlr/antlr4-runtime/src/atn/ATNDeserializer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNDeserializer.cpp rename to antlr/antlr4-runtime/src/atn/ATNDeserializer.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATNDeserializer.h b/antlr/antlr4-runtime/src/atn/ATNDeserializer.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNDeserializer.h rename to antlr/antlr4-runtime/src/atn/ATNDeserializer.h diff --git a/3rd/antlr4-runtime/src/atn/ATNSerializer.cpp b/antlr/antlr4-runtime/src/atn/ATNSerializer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNSerializer.cpp rename to antlr/antlr4-runtime/src/atn/ATNSerializer.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATNSerializer.h b/antlr/antlr4-runtime/src/atn/ATNSerializer.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNSerializer.h rename to antlr/antlr4-runtime/src/atn/ATNSerializer.h diff --git a/3rd/antlr4-runtime/src/atn/ATNSimulator.cpp b/antlr/antlr4-runtime/src/atn/ATNSimulator.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNSimulator.cpp rename to antlr/antlr4-runtime/src/atn/ATNSimulator.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATNSimulator.h b/antlr/antlr4-runtime/src/atn/ATNSimulator.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNSimulator.h rename to antlr/antlr4-runtime/src/atn/ATNSimulator.h diff --git a/3rd/antlr4-runtime/src/atn/ATNState.cpp b/antlr/antlr4-runtime/src/atn/ATNState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNState.cpp rename to antlr/antlr4-runtime/src/atn/ATNState.cpp diff --git a/3rd/antlr4-runtime/src/atn/ATNState.h b/antlr/antlr4-runtime/src/atn/ATNState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNState.h rename to antlr/antlr4-runtime/src/atn/ATNState.h diff --git a/3rd/antlr4-runtime/src/atn/ATNType.h b/antlr/antlr4-runtime/src/atn/ATNType.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ATNType.h rename to antlr/antlr4-runtime/src/atn/ATNType.h diff --git a/3rd/antlr4-runtime/src/atn/AbstractPredicateTransition.cpp b/antlr/antlr4-runtime/src/atn/AbstractPredicateTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/AbstractPredicateTransition.cpp rename to antlr/antlr4-runtime/src/atn/AbstractPredicateTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/AbstractPredicateTransition.h b/antlr/antlr4-runtime/src/atn/AbstractPredicateTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/AbstractPredicateTransition.h rename to antlr/antlr4-runtime/src/atn/AbstractPredicateTransition.h diff --git a/3rd/antlr4-runtime/src/atn/ActionTransition.cpp b/antlr/antlr4-runtime/src/atn/ActionTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ActionTransition.cpp rename to antlr/antlr4-runtime/src/atn/ActionTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/ActionTransition.h b/antlr/antlr4-runtime/src/atn/ActionTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ActionTransition.h rename to antlr/antlr4-runtime/src/atn/ActionTransition.h diff --git a/3rd/antlr4-runtime/src/atn/AmbiguityInfo.cpp b/antlr/antlr4-runtime/src/atn/AmbiguityInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/AmbiguityInfo.cpp rename to antlr/antlr4-runtime/src/atn/AmbiguityInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/AmbiguityInfo.h b/antlr/antlr4-runtime/src/atn/AmbiguityInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/AmbiguityInfo.h rename to antlr/antlr4-runtime/src/atn/AmbiguityInfo.h diff --git a/3rd/antlr4-runtime/src/atn/ArrayPredictionContext.cpp b/antlr/antlr4-runtime/src/atn/ArrayPredictionContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ArrayPredictionContext.cpp rename to antlr/antlr4-runtime/src/atn/ArrayPredictionContext.cpp diff --git a/3rd/antlr4-runtime/src/atn/ArrayPredictionContext.h b/antlr/antlr4-runtime/src/atn/ArrayPredictionContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ArrayPredictionContext.h rename to antlr/antlr4-runtime/src/atn/ArrayPredictionContext.h diff --git a/3rd/antlr4-runtime/src/atn/AtomTransition.cpp b/antlr/antlr4-runtime/src/atn/AtomTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/AtomTransition.cpp rename to antlr/antlr4-runtime/src/atn/AtomTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/AtomTransition.h b/antlr/antlr4-runtime/src/atn/AtomTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/AtomTransition.h rename to antlr/antlr4-runtime/src/atn/AtomTransition.h diff --git a/3rd/antlr4-runtime/src/atn/BasicBlockStartState.cpp b/antlr/antlr4-runtime/src/atn/BasicBlockStartState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BasicBlockStartState.cpp rename to antlr/antlr4-runtime/src/atn/BasicBlockStartState.cpp diff --git a/3rd/antlr4-runtime/src/atn/BasicBlockStartState.h b/antlr/antlr4-runtime/src/atn/BasicBlockStartState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BasicBlockStartState.h rename to antlr/antlr4-runtime/src/atn/BasicBlockStartState.h diff --git a/3rd/antlr4-runtime/src/atn/BasicState.cpp b/antlr/antlr4-runtime/src/atn/BasicState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BasicState.cpp rename to antlr/antlr4-runtime/src/atn/BasicState.cpp diff --git a/3rd/antlr4-runtime/src/atn/BasicState.h b/antlr/antlr4-runtime/src/atn/BasicState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BasicState.h rename to antlr/antlr4-runtime/src/atn/BasicState.h diff --git a/3rd/antlr4-runtime/src/atn/BlockEndState.cpp b/antlr/antlr4-runtime/src/atn/BlockEndState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BlockEndState.cpp rename to antlr/antlr4-runtime/src/atn/BlockEndState.cpp diff --git a/3rd/antlr4-runtime/src/atn/BlockEndState.h b/antlr/antlr4-runtime/src/atn/BlockEndState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BlockEndState.h rename to antlr/antlr4-runtime/src/atn/BlockEndState.h diff --git a/3rd/antlr4-runtime/src/atn/BlockStartState.cpp b/antlr/antlr4-runtime/src/atn/BlockStartState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BlockStartState.cpp rename to antlr/antlr4-runtime/src/atn/BlockStartState.cpp diff --git a/3rd/antlr4-runtime/src/atn/BlockStartState.h b/antlr/antlr4-runtime/src/atn/BlockStartState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/BlockStartState.h rename to antlr/antlr4-runtime/src/atn/BlockStartState.h diff --git a/3rd/antlr4-runtime/src/atn/ContextSensitivityInfo.cpp b/antlr/antlr4-runtime/src/atn/ContextSensitivityInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ContextSensitivityInfo.cpp rename to antlr/antlr4-runtime/src/atn/ContextSensitivityInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/ContextSensitivityInfo.h b/antlr/antlr4-runtime/src/atn/ContextSensitivityInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ContextSensitivityInfo.h rename to antlr/antlr4-runtime/src/atn/ContextSensitivityInfo.h diff --git a/3rd/antlr4-runtime/src/atn/DecisionEventInfo.cpp b/antlr/antlr4-runtime/src/atn/DecisionEventInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/DecisionEventInfo.cpp rename to antlr/antlr4-runtime/src/atn/DecisionEventInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/DecisionEventInfo.h b/antlr/antlr4-runtime/src/atn/DecisionEventInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/DecisionEventInfo.h rename to antlr/antlr4-runtime/src/atn/DecisionEventInfo.h diff --git a/3rd/antlr4-runtime/src/atn/DecisionInfo.cpp b/antlr/antlr4-runtime/src/atn/DecisionInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/DecisionInfo.cpp rename to antlr/antlr4-runtime/src/atn/DecisionInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/DecisionInfo.h b/antlr/antlr4-runtime/src/atn/DecisionInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/DecisionInfo.h rename to antlr/antlr4-runtime/src/atn/DecisionInfo.h diff --git a/3rd/antlr4-runtime/src/atn/DecisionState.cpp b/antlr/antlr4-runtime/src/atn/DecisionState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/DecisionState.cpp rename to antlr/antlr4-runtime/src/atn/DecisionState.cpp diff --git a/3rd/antlr4-runtime/src/atn/DecisionState.h b/antlr/antlr4-runtime/src/atn/DecisionState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/DecisionState.h rename to antlr/antlr4-runtime/src/atn/DecisionState.h diff --git a/3rd/antlr4-runtime/src/atn/EmptyPredictionContext.cpp b/antlr/antlr4-runtime/src/atn/EmptyPredictionContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/EmptyPredictionContext.cpp rename to antlr/antlr4-runtime/src/atn/EmptyPredictionContext.cpp diff --git a/3rd/antlr4-runtime/src/atn/EmptyPredictionContext.h b/antlr/antlr4-runtime/src/atn/EmptyPredictionContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/EmptyPredictionContext.h rename to antlr/antlr4-runtime/src/atn/EmptyPredictionContext.h diff --git a/3rd/antlr4-runtime/src/atn/EpsilonTransition.cpp b/antlr/antlr4-runtime/src/atn/EpsilonTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/EpsilonTransition.cpp rename to antlr/antlr4-runtime/src/atn/EpsilonTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/EpsilonTransition.h b/antlr/antlr4-runtime/src/atn/EpsilonTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/EpsilonTransition.h rename to antlr/antlr4-runtime/src/atn/EpsilonTransition.h diff --git a/3rd/antlr4-runtime/src/atn/ErrorInfo.cpp b/antlr/antlr4-runtime/src/atn/ErrorInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ErrorInfo.cpp rename to antlr/antlr4-runtime/src/atn/ErrorInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/ErrorInfo.h b/antlr/antlr4-runtime/src/atn/ErrorInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ErrorInfo.h rename to antlr/antlr4-runtime/src/atn/ErrorInfo.h diff --git a/3rd/antlr4-runtime/src/atn/LL1Analyzer.cpp b/antlr/antlr4-runtime/src/atn/LL1Analyzer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LL1Analyzer.cpp rename to antlr/antlr4-runtime/src/atn/LL1Analyzer.cpp diff --git a/3rd/antlr4-runtime/src/atn/LL1Analyzer.h b/antlr/antlr4-runtime/src/atn/LL1Analyzer.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LL1Analyzer.h rename to antlr/antlr4-runtime/src/atn/LL1Analyzer.h diff --git a/3rd/antlr4-runtime/src/atn/LexerATNConfig.cpp b/antlr/antlr4-runtime/src/atn/LexerATNConfig.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerATNConfig.cpp rename to antlr/antlr4-runtime/src/atn/LexerATNConfig.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerATNConfig.h b/antlr/antlr4-runtime/src/atn/LexerATNConfig.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerATNConfig.h rename to antlr/antlr4-runtime/src/atn/LexerATNConfig.h diff --git a/3rd/antlr4-runtime/src/atn/LexerATNSimulator.cpp b/antlr/antlr4-runtime/src/atn/LexerATNSimulator.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerATNSimulator.cpp rename to antlr/antlr4-runtime/src/atn/LexerATNSimulator.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerATNSimulator.h b/antlr/antlr4-runtime/src/atn/LexerATNSimulator.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerATNSimulator.h rename to antlr/antlr4-runtime/src/atn/LexerATNSimulator.h diff --git a/3rd/antlr4-runtime/src/atn/LexerAction.cpp b/antlr/antlr4-runtime/src/atn/LexerAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerAction.h b/antlr/antlr4-runtime/src/atn/LexerAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerAction.h rename to antlr/antlr4-runtime/src/atn/LexerAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerActionExecutor.cpp b/antlr/antlr4-runtime/src/atn/LexerActionExecutor.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerActionExecutor.cpp rename to antlr/antlr4-runtime/src/atn/LexerActionExecutor.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerActionExecutor.h b/antlr/antlr4-runtime/src/atn/LexerActionExecutor.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerActionExecutor.h rename to antlr/antlr4-runtime/src/atn/LexerActionExecutor.h diff --git a/3rd/antlr4-runtime/src/atn/LexerActionType.h b/antlr/antlr4-runtime/src/atn/LexerActionType.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerActionType.h rename to antlr/antlr4-runtime/src/atn/LexerActionType.h diff --git a/3rd/antlr4-runtime/src/atn/LexerChannelAction.cpp b/antlr/antlr4-runtime/src/atn/LexerChannelAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerChannelAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerChannelAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerChannelAction.h b/antlr/antlr4-runtime/src/atn/LexerChannelAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerChannelAction.h rename to antlr/antlr4-runtime/src/atn/LexerChannelAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerCustomAction.cpp b/antlr/antlr4-runtime/src/atn/LexerCustomAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerCustomAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerCustomAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerCustomAction.h b/antlr/antlr4-runtime/src/atn/LexerCustomAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerCustomAction.h rename to antlr/antlr4-runtime/src/atn/LexerCustomAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerIndexedCustomAction.cpp b/antlr/antlr4-runtime/src/atn/LexerIndexedCustomAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerIndexedCustomAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerIndexedCustomAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerIndexedCustomAction.h b/antlr/antlr4-runtime/src/atn/LexerIndexedCustomAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerIndexedCustomAction.h rename to antlr/antlr4-runtime/src/atn/LexerIndexedCustomAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerModeAction.cpp b/antlr/antlr4-runtime/src/atn/LexerModeAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerModeAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerModeAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerModeAction.h b/antlr/antlr4-runtime/src/atn/LexerModeAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerModeAction.h rename to antlr/antlr4-runtime/src/atn/LexerModeAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerMoreAction.cpp b/antlr/antlr4-runtime/src/atn/LexerMoreAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerMoreAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerMoreAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerMoreAction.h b/antlr/antlr4-runtime/src/atn/LexerMoreAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerMoreAction.h rename to antlr/antlr4-runtime/src/atn/LexerMoreAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerPopModeAction.cpp b/antlr/antlr4-runtime/src/atn/LexerPopModeAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerPopModeAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerPopModeAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerPopModeAction.h b/antlr/antlr4-runtime/src/atn/LexerPopModeAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerPopModeAction.h rename to antlr/antlr4-runtime/src/atn/LexerPopModeAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerPushModeAction.cpp b/antlr/antlr4-runtime/src/atn/LexerPushModeAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerPushModeAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerPushModeAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerPushModeAction.h b/antlr/antlr4-runtime/src/atn/LexerPushModeAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerPushModeAction.h rename to antlr/antlr4-runtime/src/atn/LexerPushModeAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerSkipAction.cpp b/antlr/antlr4-runtime/src/atn/LexerSkipAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerSkipAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerSkipAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerSkipAction.h b/antlr/antlr4-runtime/src/atn/LexerSkipAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerSkipAction.h rename to antlr/antlr4-runtime/src/atn/LexerSkipAction.h diff --git a/3rd/antlr4-runtime/src/atn/LexerTypeAction.cpp b/antlr/antlr4-runtime/src/atn/LexerTypeAction.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerTypeAction.cpp rename to antlr/antlr4-runtime/src/atn/LexerTypeAction.cpp diff --git a/3rd/antlr4-runtime/src/atn/LexerTypeAction.h b/antlr/antlr4-runtime/src/atn/LexerTypeAction.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LexerTypeAction.h rename to antlr/antlr4-runtime/src/atn/LexerTypeAction.h diff --git a/3rd/antlr4-runtime/src/atn/LookaheadEventInfo.cpp b/antlr/antlr4-runtime/src/atn/LookaheadEventInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LookaheadEventInfo.cpp rename to antlr/antlr4-runtime/src/atn/LookaheadEventInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/LookaheadEventInfo.h b/antlr/antlr4-runtime/src/atn/LookaheadEventInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LookaheadEventInfo.h rename to antlr/antlr4-runtime/src/atn/LookaheadEventInfo.h diff --git a/3rd/antlr4-runtime/src/atn/LoopEndState.cpp b/antlr/antlr4-runtime/src/atn/LoopEndState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LoopEndState.cpp rename to antlr/antlr4-runtime/src/atn/LoopEndState.cpp diff --git a/3rd/antlr4-runtime/src/atn/LoopEndState.h b/antlr/antlr4-runtime/src/atn/LoopEndState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/LoopEndState.h rename to antlr/antlr4-runtime/src/atn/LoopEndState.h diff --git a/3rd/antlr4-runtime/src/atn/Makefile b/antlr/antlr4-runtime/src/atn/Makefile similarity index 100% rename from 3rd/antlr4-runtime/src/atn/Makefile rename to antlr/antlr4-runtime/src/atn/Makefile diff --git a/3rd/antlr4-runtime/src/atn/NotSetTransition.cpp b/antlr/antlr4-runtime/src/atn/NotSetTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/NotSetTransition.cpp rename to antlr/antlr4-runtime/src/atn/NotSetTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/NotSetTransition.h b/antlr/antlr4-runtime/src/atn/NotSetTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/NotSetTransition.h rename to antlr/antlr4-runtime/src/atn/NotSetTransition.h diff --git a/3rd/antlr4-runtime/src/atn/OrderedATNConfigSet.cpp b/antlr/antlr4-runtime/src/atn/OrderedATNConfigSet.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/OrderedATNConfigSet.cpp rename to antlr/antlr4-runtime/src/atn/OrderedATNConfigSet.cpp diff --git a/3rd/antlr4-runtime/src/atn/OrderedATNConfigSet.h b/antlr/antlr4-runtime/src/atn/OrderedATNConfigSet.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/OrderedATNConfigSet.h rename to antlr/antlr4-runtime/src/atn/OrderedATNConfigSet.h diff --git a/3rd/antlr4-runtime/src/atn/ParseInfo.cpp b/antlr/antlr4-runtime/src/atn/ParseInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ParseInfo.cpp rename to antlr/antlr4-runtime/src/atn/ParseInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/ParseInfo.h b/antlr/antlr4-runtime/src/atn/ParseInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ParseInfo.h rename to antlr/antlr4-runtime/src/atn/ParseInfo.h diff --git a/3rd/antlr4-runtime/src/atn/ParserATNSimulator.cpp b/antlr/antlr4-runtime/src/atn/ParserATNSimulator.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ParserATNSimulator.cpp rename to antlr/antlr4-runtime/src/atn/ParserATNSimulator.cpp diff --git a/3rd/antlr4-runtime/src/atn/ParserATNSimulator.h b/antlr/antlr4-runtime/src/atn/ParserATNSimulator.h similarity index 99% rename from 3rd/antlr4-runtime/src/atn/ParserATNSimulator.h rename to antlr/antlr4-runtime/src/atn/ParserATNSimulator.h index 6520a44..07cc743 100755 --- a/3rd/antlr4-runtime/src/atn/ParserATNSimulator.h +++ b/antlr/antlr4-runtime/src/atn/ParserATNSimulator.h @@ -816,7 +816,7 @@ namespace atn { /// associated with a single alt state in the state->config-list map. /// /// It's also the case that we might have two conflicting configurations but - /// also a 3rd nonconflicting configuration for a different alternative: + /// also a antlr nonconflicting configuration for a different alternative: /// [1|1|[], 1|2|[], 8|3|[]]. This can come about from grammar: /// /// a : A | A | A B ; diff --git a/3rd/antlr4-runtime/src/atn/PlusBlockStartState.cpp b/antlr/antlr4-runtime/src/atn/PlusBlockStartState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PlusBlockStartState.cpp rename to antlr/antlr4-runtime/src/atn/PlusBlockStartState.cpp diff --git a/3rd/antlr4-runtime/src/atn/PlusBlockStartState.h b/antlr/antlr4-runtime/src/atn/PlusBlockStartState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PlusBlockStartState.h rename to antlr/antlr4-runtime/src/atn/PlusBlockStartState.h diff --git a/3rd/antlr4-runtime/src/atn/PlusLoopbackState.cpp b/antlr/antlr4-runtime/src/atn/PlusLoopbackState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PlusLoopbackState.cpp rename to antlr/antlr4-runtime/src/atn/PlusLoopbackState.cpp diff --git a/3rd/antlr4-runtime/src/atn/PlusLoopbackState.h b/antlr/antlr4-runtime/src/atn/PlusLoopbackState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PlusLoopbackState.h rename to antlr/antlr4-runtime/src/atn/PlusLoopbackState.h diff --git a/3rd/antlr4-runtime/src/atn/PrecedencePredicateTransition.cpp b/antlr/antlr4-runtime/src/atn/PrecedencePredicateTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PrecedencePredicateTransition.cpp rename to antlr/antlr4-runtime/src/atn/PrecedencePredicateTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/PrecedencePredicateTransition.h b/antlr/antlr4-runtime/src/atn/PrecedencePredicateTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PrecedencePredicateTransition.h rename to antlr/antlr4-runtime/src/atn/PrecedencePredicateTransition.h diff --git a/3rd/antlr4-runtime/src/atn/PredicateEvalInfo.cpp b/antlr/antlr4-runtime/src/atn/PredicateEvalInfo.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredicateEvalInfo.cpp rename to antlr/antlr4-runtime/src/atn/PredicateEvalInfo.cpp diff --git a/3rd/antlr4-runtime/src/atn/PredicateEvalInfo.h b/antlr/antlr4-runtime/src/atn/PredicateEvalInfo.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredicateEvalInfo.h rename to antlr/antlr4-runtime/src/atn/PredicateEvalInfo.h diff --git a/3rd/antlr4-runtime/src/atn/PredicateTransition.cpp b/antlr/antlr4-runtime/src/atn/PredicateTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredicateTransition.cpp rename to antlr/antlr4-runtime/src/atn/PredicateTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/PredicateTransition.h b/antlr/antlr4-runtime/src/atn/PredicateTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredicateTransition.h rename to antlr/antlr4-runtime/src/atn/PredicateTransition.h diff --git a/3rd/antlr4-runtime/src/atn/PredictionContext.cpp b/antlr/antlr4-runtime/src/atn/PredictionContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredictionContext.cpp rename to antlr/antlr4-runtime/src/atn/PredictionContext.cpp diff --git a/3rd/antlr4-runtime/src/atn/PredictionContext.h b/antlr/antlr4-runtime/src/atn/PredictionContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredictionContext.h rename to antlr/antlr4-runtime/src/atn/PredictionContext.h diff --git a/3rd/antlr4-runtime/src/atn/PredictionMode.cpp b/antlr/antlr4-runtime/src/atn/PredictionMode.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredictionMode.cpp rename to antlr/antlr4-runtime/src/atn/PredictionMode.cpp diff --git a/3rd/antlr4-runtime/src/atn/PredictionMode.h b/antlr/antlr4-runtime/src/atn/PredictionMode.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/PredictionMode.h rename to antlr/antlr4-runtime/src/atn/PredictionMode.h diff --git a/3rd/antlr4-runtime/src/atn/ProfilingATNSimulator.cpp b/antlr/antlr4-runtime/src/atn/ProfilingATNSimulator.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ProfilingATNSimulator.cpp rename to antlr/antlr4-runtime/src/atn/ProfilingATNSimulator.cpp diff --git a/3rd/antlr4-runtime/src/atn/ProfilingATNSimulator.h b/antlr/antlr4-runtime/src/atn/ProfilingATNSimulator.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/ProfilingATNSimulator.h rename to antlr/antlr4-runtime/src/atn/ProfilingATNSimulator.h diff --git a/3rd/antlr4-runtime/src/atn/RangeTransition.cpp b/antlr/antlr4-runtime/src/atn/RangeTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RangeTransition.cpp rename to antlr/antlr4-runtime/src/atn/RangeTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/RangeTransition.h b/antlr/antlr4-runtime/src/atn/RangeTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RangeTransition.h rename to antlr/antlr4-runtime/src/atn/RangeTransition.h diff --git a/3rd/antlr4-runtime/src/atn/RuleStartState.cpp b/antlr/antlr4-runtime/src/atn/RuleStartState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RuleStartState.cpp rename to antlr/antlr4-runtime/src/atn/RuleStartState.cpp diff --git a/3rd/antlr4-runtime/src/atn/RuleStartState.h b/antlr/antlr4-runtime/src/atn/RuleStartState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RuleStartState.h rename to antlr/antlr4-runtime/src/atn/RuleStartState.h diff --git a/3rd/antlr4-runtime/src/atn/RuleStopState.cpp b/antlr/antlr4-runtime/src/atn/RuleStopState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RuleStopState.cpp rename to antlr/antlr4-runtime/src/atn/RuleStopState.cpp diff --git a/3rd/antlr4-runtime/src/atn/RuleStopState.h b/antlr/antlr4-runtime/src/atn/RuleStopState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RuleStopState.h rename to antlr/antlr4-runtime/src/atn/RuleStopState.h diff --git a/3rd/antlr4-runtime/src/atn/RuleTransition.cpp b/antlr/antlr4-runtime/src/atn/RuleTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RuleTransition.cpp rename to antlr/antlr4-runtime/src/atn/RuleTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/RuleTransition.h b/antlr/antlr4-runtime/src/atn/RuleTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/RuleTransition.h rename to antlr/antlr4-runtime/src/atn/RuleTransition.h diff --git a/3rd/antlr4-runtime/src/atn/SemanticContext.cpp b/antlr/antlr4-runtime/src/atn/SemanticContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/SemanticContext.cpp rename to antlr/antlr4-runtime/src/atn/SemanticContext.cpp diff --git a/3rd/antlr4-runtime/src/atn/SemanticContext.h b/antlr/antlr4-runtime/src/atn/SemanticContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/SemanticContext.h rename to antlr/antlr4-runtime/src/atn/SemanticContext.h diff --git a/3rd/antlr4-runtime/src/atn/SetTransition.cpp b/antlr/antlr4-runtime/src/atn/SetTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/SetTransition.cpp rename to antlr/antlr4-runtime/src/atn/SetTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/SetTransition.h b/antlr/antlr4-runtime/src/atn/SetTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/SetTransition.h rename to antlr/antlr4-runtime/src/atn/SetTransition.h diff --git a/3rd/antlr4-runtime/src/atn/SingletonPredictionContext.cpp b/antlr/antlr4-runtime/src/atn/SingletonPredictionContext.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/SingletonPredictionContext.cpp rename to antlr/antlr4-runtime/src/atn/SingletonPredictionContext.cpp diff --git a/3rd/antlr4-runtime/src/atn/SingletonPredictionContext.h b/antlr/antlr4-runtime/src/atn/SingletonPredictionContext.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/SingletonPredictionContext.h rename to antlr/antlr4-runtime/src/atn/SingletonPredictionContext.h diff --git a/3rd/antlr4-runtime/src/atn/StarBlockStartState.cpp b/antlr/antlr4-runtime/src/atn/StarBlockStartState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/StarBlockStartState.cpp rename to antlr/antlr4-runtime/src/atn/StarBlockStartState.cpp diff --git a/3rd/antlr4-runtime/src/atn/StarBlockStartState.h b/antlr/antlr4-runtime/src/atn/StarBlockStartState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/StarBlockStartState.h rename to antlr/antlr4-runtime/src/atn/StarBlockStartState.h diff --git a/3rd/antlr4-runtime/src/atn/StarLoopEntryState.cpp b/antlr/antlr4-runtime/src/atn/StarLoopEntryState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/StarLoopEntryState.cpp rename to antlr/antlr4-runtime/src/atn/StarLoopEntryState.cpp diff --git a/3rd/antlr4-runtime/src/atn/StarLoopEntryState.h b/antlr/antlr4-runtime/src/atn/StarLoopEntryState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/StarLoopEntryState.h rename to antlr/antlr4-runtime/src/atn/StarLoopEntryState.h diff --git a/3rd/antlr4-runtime/src/atn/StarLoopbackState.cpp b/antlr/antlr4-runtime/src/atn/StarLoopbackState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/StarLoopbackState.cpp rename to antlr/antlr4-runtime/src/atn/StarLoopbackState.cpp diff --git a/3rd/antlr4-runtime/src/atn/StarLoopbackState.h b/antlr/antlr4-runtime/src/atn/StarLoopbackState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/StarLoopbackState.h rename to antlr/antlr4-runtime/src/atn/StarLoopbackState.h diff --git a/3rd/antlr4-runtime/src/atn/TokensStartState.cpp b/antlr/antlr4-runtime/src/atn/TokensStartState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/TokensStartState.cpp rename to antlr/antlr4-runtime/src/atn/TokensStartState.cpp diff --git a/3rd/antlr4-runtime/src/atn/TokensStartState.h b/antlr/antlr4-runtime/src/atn/TokensStartState.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/TokensStartState.h rename to antlr/antlr4-runtime/src/atn/TokensStartState.h diff --git a/3rd/antlr4-runtime/src/atn/Transition.cpp b/antlr/antlr4-runtime/src/atn/Transition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/Transition.cpp rename to antlr/antlr4-runtime/src/atn/Transition.cpp diff --git a/3rd/antlr4-runtime/src/atn/Transition.h b/antlr/antlr4-runtime/src/atn/Transition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/Transition.h rename to antlr/antlr4-runtime/src/atn/Transition.h diff --git a/3rd/antlr4-runtime/src/atn/WildcardTransition.cpp b/antlr/antlr4-runtime/src/atn/WildcardTransition.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/atn/WildcardTransition.cpp rename to antlr/antlr4-runtime/src/atn/WildcardTransition.cpp diff --git a/3rd/antlr4-runtime/src/atn/WildcardTransition.h b/antlr/antlr4-runtime/src/atn/WildcardTransition.h similarity index 100% rename from 3rd/antlr4-runtime/src/atn/WildcardTransition.h rename to antlr/antlr4-runtime/src/atn/WildcardTransition.h diff --git a/3rd/antlr4-runtime/src/dfa/DFA.cpp b/antlr/antlr4-runtime/src/dfa/DFA.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/DFA.cpp rename to antlr/antlr4-runtime/src/dfa/DFA.cpp diff --git a/3rd/antlr4-runtime/src/dfa/DFA.h b/antlr/antlr4-runtime/src/dfa/DFA.h similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/DFA.h rename to antlr/antlr4-runtime/src/dfa/DFA.h diff --git a/3rd/antlr4-runtime/src/dfa/DFASerializer.cpp b/antlr/antlr4-runtime/src/dfa/DFASerializer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/DFASerializer.cpp rename to antlr/antlr4-runtime/src/dfa/DFASerializer.cpp diff --git a/3rd/antlr4-runtime/src/dfa/DFASerializer.h b/antlr/antlr4-runtime/src/dfa/DFASerializer.h similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/DFASerializer.h rename to antlr/antlr4-runtime/src/dfa/DFASerializer.h diff --git a/3rd/antlr4-runtime/src/dfa/DFAState.cpp b/antlr/antlr4-runtime/src/dfa/DFAState.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/DFAState.cpp rename to antlr/antlr4-runtime/src/dfa/DFAState.cpp diff --git a/3rd/antlr4-runtime/src/dfa/DFAState.h b/antlr/antlr4-runtime/src/dfa/DFAState.h similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/DFAState.h rename to antlr/antlr4-runtime/src/dfa/DFAState.h diff --git a/3rd/antlr4-runtime/src/dfa/LexerDFASerializer.cpp b/antlr/antlr4-runtime/src/dfa/LexerDFASerializer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/LexerDFASerializer.cpp rename to antlr/antlr4-runtime/src/dfa/LexerDFASerializer.cpp diff --git a/3rd/antlr4-runtime/src/dfa/LexerDFASerializer.h b/antlr/antlr4-runtime/src/dfa/LexerDFASerializer.h similarity index 100% rename from 3rd/antlr4-runtime/src/dfa/LexerDFASerializer.h rename to antlr/antlr4-runtime/src/dfa/LexerDFASerializer.h diff --git a/3rd/antlr4-runtime/src/misc/InterpreterDataReader.cpp b/antlr/antlr4-runtime/src/misc/InterpreterDataReader.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/misc/InterpreterDataReader.cpp rename to antlr/antlr4-runtime/src/misc/InterpreterDataReader.cpp diff --git a/3rd/antlr4-runtime/src/misc/InterpreterDataReader.h b/antlr/antlr4-runtime/src/misc/InterpreterDataReader.h similarity index 100% rename from 3rd/antlr4-runtime/src/misc/InterpreterDataReader.h rename to antlr/antlr4-runtime/src/misc/InterpreterDataReader.h diff --git a/3rd/antlr4-runtime/src/misc/Interval.cpp b/antlr/antlr4-runtime/src/misc/Interval.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/misc/Interval.cpp rename to antlr/antlr4-runtime/src/misc/Interval.cpp diff --git a/3rd/antlr4-runtime/src/misc/Interval.h b/antlr/antlr4-runtime/src/misc/Interval.h similarity index 100% rename from 3rd/antlr4-runtime/src/misc/Interval.h rename to antlr/antlr4-runtime/src/misc/Interval.h diff --git a/3rd/antlr4-runtime/src/misc/IntervalSet.cpp b/antlr/antlr4-runtime/src/misc/IntervalSet.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/misc/IntervalSet.cpp rename to antlr/antlr4-runtime/src/misc/IntervalSet.cpp diff --git a/3rd/antlr4-runtime/src/misc/IntervalSet.h b/antlr/antlr4-runtime/src/misc/IntervalSet.h similarity index 100% rename from 3rd/antlr4-runtime/src/misc/IntervalSet.h rename to antlr/antlr4-runtime/src/misc/IntervalSet.h diff --git a/3rd/antlr4-runtime/src/misc/MurmurHash.cpp b/antlr/antlr4-runtime/src/misc/MurmurHash.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/misc/MurmurHash.cpp rename to antlr/antlr4-runtime/src/misc/MurmurHash.cpp diff --git a/3rd/antlr4-runtime/src/misc/MurmurHash.h b/antlr/antlr4-runtime/src/misc/MurmurHash.h similarity index 100% rename from 3rd/antlr4-runtime/src/misc/MurmurHash.h rename to antlr/antlr4-runtime/src/misc/MurmurHash.h diff --git a/3rd/antlr4-runtime/src/misc/Predicate.cpp b/antlr/antlr4-runtime/src/misc/Predicate.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/misc/Predicate.cpp rename to antlr/antlr4-runtime/src/misc/Predicate.cpp diff --git a/3rd/antlr4-runtime/src/misc/Predicate.h b/antlr/antlr4-runtime/src/misc/Predicate.h similarity index 100% rename from 3rd/antlr4-runtime/src/misc/Predicate.h rename to antlr/antlr4-runtime/src/misc/Predicate.h diff --git a/3rd/antlr4-runtime/src/support/Any.cpp b/antlr/antlr4-runtime/src/support/Any.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/support/Any.cpp rename to antlr/antlr4-runtime/src/support/Any.cpp diff --git a/3rd/antlr4-runtime/src/support/Any.h b/antlr/antlr4-runtime/src/support/Any.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/Any.h rename to antlr/antlr4-runtime/src/support/Any.h diff --git a/3rd/antlr4-runtime/src/support/Arrays.cpp b/antlr/antlr4-runtime/src/support/Arrays.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/support/Arrays.cpp rename to antlr/antlr4-runtime/src/support/Arrays.cpp diff --git a/3rd/antlr4-runtime/src/support/Arrays.h b/antlr/antlr4-runtime/src/support/Arrays.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/Arrays.h rename to antlr/antlr4-runtime/src/support/Arrays.h diff --git a/3rd/antlr4-runtime/src/support/BitSet.h b/antlr/antlr4-runtime/src/support/BitSet.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/BitSet.h rename to antlr/antlr4-runtime/src/support/BitSet.h diff --git a/3rd/antlr4-runtime/src/support/CPPUtils.cpp b/antlr/antlr4-runtime/src/support/CPPUtils.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/support/CPPUtils.cpp rename to antlr/antlr4-runtime/src/support/CPPUtils.cpp diff --git a/3rd/antlr4-runtime/src/support/CPPUtils.h b/antlr/antlr4-runtime/src/support/CPPUtils.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/CPPUtils.h rename to antlr/antlr4-runtime/src/support/CPPUtils.h diff --git a/3rd/antlr4-runtime/src/support/Casts.h b/antlr/antlr4-runtime/src/support/Casts.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/Casts.h rename to antlr/antlr4-runtime/src/support/Casts.h diff --git a/3rd/antlr4-runtime/src/support/Declarations.h b/antlr/antlr4-runtime/src/support/Declarations.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/Declarations.h rename to antlr/antlr4-runtime/src/support/Declarations.h diff --git a/3rd/antlr4-runtime/src/support/Guid.cpp b/antlr/antlr4-runtime/src/support/Guid.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/support/Guid.cpp rename to antlr/antlr4-runtime/src/support/Guid.cpp diff --git a/3rd/antlr4-runtime/src/support/Guid.h b/antlr/antlr4-runtime/src/support/Guid.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/Guid.h rename to antlr/antlr4-runtime/src/support/Guid.h diff --git a/3rd/antlr4-runtime/src/support/StringUtils.cpp b/antlr/antlr4-runtime/src/support/StringUtils.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/support/StringUtils.cpp rename to antlr/antlr4-runtime/src/support/StringUtils.cpp diff --git a/3rd/antlr4-runtime/src/support/StringUtils.h b/antlr/antlr4-runtime/src/support/StringUtils.h similarity index 100% rename from 3rd/antlr4-runtime/src/support/StringUtils.h rename to antlr/antlr4-runtime/src/support/StringUtils.h diff --git a/3rd/antlr4-runtime/src/tree/AbstractParseTreeVisitor.h b/antlr/antlr4-runtime/src/tree/AbstractParseTreeVisitor.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/AbstractParseTreeVisitor.h rename to antlr/antlr4-runtime/src/tree/AbstractParseTreeVisitor.h diff --git a/3rd/antlr4-runtime/src/tree/ErrorNode.cpp b/antlr/antlr4-runtime/src/tree/ErrorNode.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ErrorNode.cpp rename to antlr/antlr4-runtime/src/tree/ErrorNode.cpp diff --git a/3rd/antlr4-runtime/src/tree/ErrorNode.h b/antlr/antlr4-runtime/src/tree/ErrorNode.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ErrorNode.h rename to antlr/antlr4-runtime/src/tree/ErrorNode.h diff --git a/3rd/antlr4-runtime/src/tree/ErrorNodeImpl.cpp b/antlr/antlr4-runtime/src/tree/ErrorNodeImpl.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ErrorNodeImpl.cpp rename to antlr/antlr4-runtime/src/tree/ErrorNodeImpl.cpp diff --git a/3rd/antlr4-runtime/src/tree/ErrorNodeImpl.h b/antlr/antlr4-runtime/src/tree/ErrorNodeImpl.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ErrorNodeImpl.h rename to antlr/antlr4-runtime/src/tree/ErrorNodeImpl.h diff --git a/3rd/antlr4-runtime/src/tree/IterativeParseTreeWalker.cpp b/antlr/antlr4-runtime/src/tree/IterativeParseTreeWalker.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/IterativeParseTreeWalker.cpp rename to antlr/antlr4-runtime/src/tree/IterativeParseTreeWalker.cpp diff --git a/3rd/antlr4-runtime/src/tree/IterativeParseTreeWalker.h b/antlr/antlr4-runtime/src/tree/IterativeParseTreeWalker.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/IterativeParseTreeWalker.h rename to antlr/antlr4-runtime/src/tree/IterativeParseTreeWalker.h diff --git a/3rd/antlr4-runtime/src/tree/ParseTree.cpp b/antlr/antlr4-runtime/src/tree/ParseTree.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTree.cpp rename to antlr/antlr4-runtime/src/tree/ParseTree.cpp diff --git a/3rd/antlr4-runtime/src/tree/ParseTree.h b/antlr/antlr4-runtime/src/tree/ParseTree.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTree.h rename to antlr/antlr4-runtime/src/tree/ParseTree.h diff --git a/3rd/antlr4-runtime/src/tree/ParseTreeListener.cpp b/antlr/antlr4-runtime/src/tree/ParseTreeListener.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTreeListener.cpp rename to antlr/antlr4-runtime/src/tree/ParseTreeListener.cpp diff --git a/3rd/antlr4-runtime/src/tree/ParseTreeListener.h b/antlr/antlr4-runtime/src/tree/ParseTreeListener.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTreeListener.h rename to antlr/antlr4-runtime/src/tree/ParseTreeListener.h diff --git a/3rd/antlr4-runtime/src/tree/ParseTreeProperty.h b/antlr/antlr4-runtime/src/tree/ParseTreeProperty.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTreeProperty.h rename to antlr/antlr4-runtime/src/tree/ParseTreeProperty.h diff --git a/3rd/antlr4-runtime/src/tree/ParseTreeVisitor.cpp b/antlr/antlr4-runtime/src/tree/ParseTreeVisitor.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTreeVisitor.cpp rename to antlr/antlr4-runtime/src/tree/ParseTreeVisitor.cpp diff --git a/3rd/antlr4-runtime/src/tree/ParseTreeVisitor.h b/antlr/antlr4-runtime/src/tree/ParseTreeVisitor.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTreeVisitor.h rename to antlr/antlr4-runtime/src/tree/ParseTreeVisitor.h diff --git a/3rd/antlr4-runtime/src/tree/ParseTreeWalker.cpp b/antlr/antlr4-runtime/src/tree/ParseTreeWalker.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTreeWalker.cpp rename to antlr/antlr4-runtime/src/tree/ParseTreeWalker.cpp diff --git a/3rd/antlr4-runtime/src/tree/ParseTreeWalker.h b/antlr/antlr4-runtime/src/tree/ParseTreeWalker.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/ParseTreeWalker.h rename to antlr/antlr4-runtime/src/tree/ParseTreeWalker.h diff --git a/3rd/antlr4-runtime/src/tree/TerminalNode.cpp b/antlr/antlr4-runtime/src/tree/TerminalNode.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/TerminalNode.cpp rename to antlr/antlr4-runtime/src/tree/TerminalNode.cpp diff --git a/3rd/antlr4-runtime/src/tree/TerminalNode.h b/antlr/antlr4-runtime/src/tree/TerminalNode.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/TerminalNode.h rename to antlr/antlr4-runtime/src/tree/TerminalNode.h diff --git a/3rd/antlr4-runtime/src/tree/TerminalNodeImpl.cpp b/antlr/antlr4-runtime/src/tree/TerminalNodeImpl.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/TerminalNodeImpl.cpp rename to antlr/antlr4-runtime/src/tree/TerminalNodeImpl.cpp diff --git a/3rd/antlr4-runtime/src/tree/TerminalNodeImpl.h b/antlr/antlr4-runtime/src/tree/TerminalNodeImpl.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/TerminalNodeImpl.h rename to antlr/antlr4-runtime/src/tree/TerminalNodeImpl.h diff --git a/3rd/antlr4-runtime/src/tree/Trees.cpp b/antlr/antlr4-runtime/src/tree/Trees.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/Trees.cpp rename to antlr/antlr4-runtime/src/tree/Trees.cpp diff --git a/3rd/antlr4-runtime/src/tree/Trees.h b/antlr/antlr4-runtime/src/tree/Trees.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/Trees.h rename to antlr/antlr4-runtime/src/tree/Trees.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/Chunk.cpp b/antlr/antlr4-runtime/src/tree/pattern/Chunk.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/Chunk.cpp rename to antlr/antlr4-runtime/src/tree/pattern/Chunk.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/Chunk.h b/antlr/antlr4-runtime/src/tree/pattern/Chunk.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/Chunk.h rename to antlr/antlr4-runtime/src/tree/pattern/Chunk.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/ParseTreeMatch.cpp b/antlr/antlr4-runtime/src/tree/pattern/ParseTreeMatch.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/ParseTreeMatch.cpp rename to antlr/antlr4-runtime/src/tree/pattern/ParseTreeMatch.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/ParseTreeMatch.h b/antlr/antlr4-runtime/src/tree/pattern/ParseTreeMatch.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/ParseTreeMatch.h rename to antlr/antlr4-runtime/src/tree/pattern/ParseTreeMatch.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/ParseTreePattern.cpp b/antlr/antlr4-runtime/src/tree/pattern/ParseTreePattern.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/ParseTreePattern.cpp rename to antlr/antlr4-runtime/src/tree/pattern/ParseTreePattern.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/ParseTreePattern.h b/antlr/antlr4-runtime/src/tree/pattern/ParseTreePattern.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/ParseTreePattern.h rename to antlr/antlr4-runtime/src/tree/pattern/ParseTreePattern.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.cpp b/antlr/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.cpp rename to antlr/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.h b/antlr/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.h rename to antlr/antlr4-runtime/src/tree/pattern/ParseTreePatternMatcher.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/RuleTagToken.cpp b/antlr/antlr4-runtime/src/tree/pattern/RuleTagToken.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/RuleTagToken.cpp rename to antlr/antlr4-runtime/src/tree/pattern/RuleTagToken.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/RuleTagToken.h b/antlr/antlr4-runtime/src/tree/pattern/RuleTagToken.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/RuleTagToken.h rename to antlr/antlr4-runtime/src/tree/pattern/RuleTagToken.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/TagChunk.cpp b/antlr/antlr4-runtime/src/tree/pattern/TagChunk.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/TagChunk.cpp rename to antlr/antlr4-runtime/src/tree/pattern/TagChunk.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/TagChunk.h b/antlr/antlr4-runtime/src/tree/pattern/TagChunk.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/TagChunk.h rename to antlr/antlr4-runtime/src/tree/pattern/TagChunk.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/TextChunk.cpp b/antlr/antlr4-runtime/src/tree/pattern/TextChunk.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/TextChunk.cpp rename to antlr/antlr4-runtime/src/tree/pattern/TextChunk.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/TextChunk.h b/antlr/antlr4-runtime/src/tree/pattern/TextChunk.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/TextChunk.h rename to antlr/antlr4-runtime/src/tree/pattern/TextChunk.h diff --git a/3rd/antlr4-runtime/src/tree/pattern/TokenTagToken.cpp b/antlr/antlr4-runtime/src/tree/pattern/TokenTagToken.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/TokenTagToken.cpp rename to antlr/antlr4-runtime/src/tree/pattern/TokenTagToken.cpp diff --git a/3rd/antlr4-runtime/src/tree/pattern/TokenTagToken.h b/antlr/antlr4-runtime/src/tree/pattern/TokenTagToken.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/pattern/TokenTagToken.h rename to antlr/antlr4-runtime/src/tree/pattern/TokenTagToken.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPath.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPath.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPath.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPath.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPath.h b/antlr/antlr4-runtime/src/tree/xpath/XPath.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPath.h rename to antlr/antlr4-runtime/src/tree/xpath/XPath.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathElement.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathElement.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathElement.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathElement.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathElement.h b/antlr/antlr4-runtime/src/tree/xpath/XPathElement.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathElement.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathElement.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathLexer.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathLexer.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathLexer.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathLexer.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathLexer.g4 b/antlr/antlr4-runtime/src/tree/xpath/XPathLexer.g4 similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathLexer.g4 rename to antlr/antlr4-runtime/src/tree/xpath/XPathLexer.g4 diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathLexer.h b/antlr/antlr4-runtime/src/tree/xpath/XPathLexer.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathLexer.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathLexer.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathLexer.tokens b/antlr/antlr4-runtime/src/tree/xpath/XPathLexer.tokens similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathLexer.tokens rename to antlr/antlr4-runtime/src/tree/xpath/XPathLexer.tokens diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.h b/antlr/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathLexerErrorListener.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.h b/antlr/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathRuleAnywhereElement.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathRuleElement.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathRuleElement.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathRuleElement.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathRuleElement.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathRuleElement.h b/antlr/antlr4-runtime/src/tree/xpath/XPathRuleElement.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathRuleElement.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathRuleElement.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.h b/antlr/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathTokenAnywhereElement.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathTokenElement.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathTokenElement.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathTokenElement.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathTokenElement.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathTokenElement.h b/antlr/antlr4-runtime/src/tree/xpath/XPathTokenElement.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathTokenElement.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathTokenElement.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.h b/antlr/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathWildcardAnywhereElement.h diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathWildcardElement.cpp b/antlr/antlr4-runtime/src/tree/xpath/XPathWildcardElement.cpp similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathWildcardElement.cpp rename to antlr/antlr4-runtime/src/tree/xpath/XPathWildcardElement.cpp diff --git a/3rd/antlr4-runtime/src/tree/xpath/XPathWildcardElement.h b/antlr/antlr4-runtime/src/tree/xpath/XPathWildcardElement.h similarity index 100% rename from 3rd/antlr4-runtime/src/tree/xpath/XPathWildcardElement.h rename to antlr/antlr4-runtime/src/tree/xpath/XPathWildcardElement.h diff --git a/src/ICG/CMakeLists.txt b/src/ICG/CMakeLists.txt index 0dc18e4..754adc7 100644 --- a/src/ICG/CMakeLists.txt +++ b/src/ICG/CMakeLists.txt @@ -1,5 +1,5 @@ # g4 --> cpp -set(ANTLR4CPP_JAR_LOCATION ${CMAKE_SOURCE_DIR}/3rd/antlr-4.9.3-complete.jar) +set(ANTLR4CPP_JAR_LOCATION ${CMAKE_SOURCE_DIR}/antlr/antlr-4.9.3-complete.jar) file(GLOB grammar_g4 ${CMAKE_SOURCE_DIR}/grammar/*.g4 @@ -22,9 +22,9 @@ add_library(icg ) target_include_directories(icg PUBLIC - ${CMAKE_SOURCE_DIR}/3rd/antlr4-runtime/src + ${CMAKE_SOURCE_DIR}/antlr/antlr4-runtime/src ${CMAKE_SOURCE_DIR}/grammar/cpp ${CMAKE_SOURCE_DIR}/include ) -target_link_libraries(icg 3rd common) +target_link_libraries(icg antlr common) diff --git a/demo/01assign.go b/test/01assign.go similarity index 100% rename from demo/01assign.go rename to test/01assign.go diff --git a/demo/02calculate.go b/test/02calculate.go similarity index 100% rename from demo/02calculate.go rename to test/02calculate.go diff --git a/demo/03if.go b/test/03if.go similarity index 100% rename from demo/03if.go rename to test/03if.go diff --git a/demo/04for.go b/test/04for.go similarity index 100% rename from demo/04for.go rename to test/04for.go diff --git a/demo/05func.go b/test/05func.go similarity index 100% rename from demo/05func.go rename to test/05func.go diff --git a/demo/06array.go b/test/06array.go similarity index 100% rename from demo/06array.go rename to test/06array.go diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt deleted file mode 100644 index 962bd1b..0000000 --- a/test/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -add_subdirectory(Common) -# add_subdirectory(TCG) - -add_executable(icg_test icg.cpp) -target_link_libraries(icg_test common icg tcg) -add_test(NAME icg_test COMMAND icg_test WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/build) diff --git a/test/Common/CMakeLists.txt b/test/Common/CMakeLists.txt deleted file mode 100644 index d5f4a4f..0000000 --- a/test/Common/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -add_executable(symbol_test symbol.cpp) -target_link_libraries(symbol_test common icg tcg) -add_test(NAME symbol_test COMMAND symbol_test WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/build) diff --git a/test/Common/symbol.cpp b/test/Common/symbol.cpp deleted file mode 100644 index 2f6e7a8..0000000 --- a/test/Common/symbol.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "Common/Common.h" -#include "Common/Scope.h" - -void copy_assign() { - Symbol symbol1("A", nullptr, Symbol::SymbolType::VAR, Symbol::Type::INT); - Symbol symbol2("B", nullptr, Symbol::SymbolType::VAR, Symbol::Type::INT); - Symbol symbol3 = symbol1; - std::cout << "symbol1.name: " << symbol1.name << std::endl; - std::cout << "symbol2.name: " << symbol2.name << std::endl; - std::cout << "symbol3.name: " << symbol3.name << std::endl; - symbol1.name = "Q"; - std::cout << "symbol1.name: " << symbol1.name << std::endl; - std::cout << "symbol2.name: " << symbol2.name << std::endl; - std::cout << "symbol3.name: " << symbol3.name << std::endl; -} - - -int main() { - copy_assign(); - return 0; -} \ No newline at end of file diff --git a/test/TCG/CMakeLists.txt b/test/TCG/CMakeLists.txt deleted file mode 100644 index 5cbbf8e..0000000 --- a/test/TCG/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -add_executable(SymbolManager_test SymbolManager.cpp) -target_link_libraries(SymbolManager_test common icg tcg) -add_test(NAME SymbolManager_test COMMAND SymbolManager_test WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/build) diff --git a/test/TCG/SymbolManager.cpp b/test/TCG/SymbolManager.cpp deleted file mode 100644 index 1c4c5e6..0000000 --- a/test/TCG/SymbolManager.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include -#include "Common/Common.h" -#include "Common/Scope.h" -#include "Common/TAC.h" -#include "TCG/SymbolManager.h" - -// 西内 -void test_init(Scope& scope, SymbolManager& symbol_manager) { - TACBlock &block = scope.block; - /* TAC 文件 */ - block.emplace_back(1, TACOP::ADD, Operand("A"), Operand("B"), Operand("T"), std::shared_ptr(&scope)); - block.emplace_back(2, TACOP::SUB, Operand("A"), Operand("C"), Operand("U"), std::shared_ptr(&scope)); - block.emplace_back(3, TACOP::ADD, Operand("T"), Operand("U"), Operand("V"), std::shared_ptr(&scope)); - block.emplace_back(4, TACOP::ADD, Operand("V"), Operand("U"), Operand("W"), std::shared_ptr(&scope)); - - std::cout << "TAC文件内容: " << std::endl; - for (auto& line : block) { - std::cout << line.to_string() << std::endl; - } - - /* 建立符号表 */ - scope.para_symbols.emplace("A", Symbol("A", &scope, Symbol::SymbolType::VAR, Symbol::Type::INT)); - scope.para_symbols.emplace("B", Symbol("B", &scope, Symbol::SymbolType::VAR, Symbol::Type::INT)); - scope.para_symbols.emplace("C", Symbol("C", &scope, Symbol::SymbolType::VAR, Symbol::Type::INT)); - scope.para_symbols.emplace("T", Symbol("T", &scope, Symbol::SymbolType::VAR, Symbol::Type::INT)); - scope.para_symbols.emplace("U", Symbol("U", &scope, Symbol::SymbolType::VAR, Symbol::Type::INT)); - scope.para_symbols.emplace("V", Symbol("V", &scope, Symbol::SymbolType::VAR, Symbol::Type::INT)); - scope.para_symbols.emplace("W", Symbol("W", &scope, Symbol::SymbolType::VAR, Symbol::Type::INT)); -} - - -void cal_use_info(Scope& scope, SymbolManager& symbol_manager) { - TACBlock &block = scope.block; - /* 计算待用信息和活跃信息 */ - symbol_manager.set_use_info("W", {0, true}); - symbol_manager.cal_use_info(); - - /* 打印结果 */ - std::cout << "待用信息和活跃信息: " << std::endl; - for (TACLine &line : block) { - std::cout << line.to_string() - << std::setw(8) << "(" << line.dst.use_info << ")" - << std::setw(8) << "(" << line.src1.use_info << ")" - << std::setw(8) << "(" << line.src2.use_info << ")" - << std::endl; - } -} - - -void get_reg(Scope& scope, SymbolManager& symbol_manager) { - TACBlock &block = scope.block; - symbol_manager.set_avalue_reg("A", REG::EAX); - symbol_manager.set_avalue_reg("B", REG::EBX); - symbol_manager.set_avalue_reg("C", REG::ECX); - std::cout << "获取寄存器: " << std::endl; - for (TACLine &line : block) { - symbol_manager.get_reg(line); - std::cout << line.to_string() - << std::setw(8) << to_string(symbol_manager.avalue_reg(line.src1.value)) - << std::setw(8) << to_string(symbol_manager.avalue_reg(line.src2.value)) - << std::setw(8) << to_string(symbol_manager.avalue_reg(line.dst.value)) - << std::endl; - } -} - - -int main() { - Scope scope; - SymbolManager symbol_manager(scope); - test_init(scope, symbol_manager); - cal_use_info(scope, symbol_manager); - get_reg(scope, symbol_manager); - return 0; -} diff --git a/demo/error01.go b/test/error01.go similarity index 100% rename from demo/error01.go rename to test/error01.go diff --git a/test/icg.cpp b/test/icg.cpp deleted file mode 100644 index f410daa..0000000 --- a/test/icg.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include "Common/Common.h" -#include "ICG/myGoListener.h" -#include "GoParser.h" -#include "GoLexer.h" -#include "GoParserListener.h" -#include "GoParserBaseListener.h" - -using namespace std; - - -int main(int argc, char * argv[]){ - string filename="calculate.go"; - cout << "start to translate "+filename << endl; - - antlr4::ANTLRFileStream file; - file.loadFromFile("../../grammar/"+filename); - - antlr4::ANTLRInputStream inputStream(file.toString()); - - GoLexer lexer(&inputStream); - antlr4::CommonTokenStream tokens(&lexer); - GoParser parser(&tokens); - myGoListener listener; - antlr4::tree::ParseTreeWalker::DEFAULT.walk( &listener, parser.sourceFile()); - listener.Go23file("3code.txt"); - - return 0; - //std::cout << ret.as()-> << std::endl; -} \ No newline at end of file diff --git a/demo/print.asm b/test/print.asm similarity index 100% rename from demo/print.asm rename to test/print.asm diff --git a/demo/simple.go b/test/simple.go similarity index 100% rename from demo/simple.go rename to test/simple.go diff --git a/demo/test.go b/test/test.go similarity index 100% rename from demo/test.go rename to test/test.go diff --git a/demo/test2.go b/test/test2.go similarity index 100% rename from demo/test2.go rename to test/test2.go diff --git a/demo/test3.go b/test/test3.go similarity index 100% rename from demo/test3.go rename to test/test3.go diff --git a/demo/test4.go b/test/test4.go similarity index 100% rename from demo/test4.go rename to test/test4.go diff --git a/test_all.sh b/test_all.sh index 2e74984..1775055 100755 --- a/test_all.sh +++ b/test_all.sh @@ -1,23 +1,44 @@ #!/bin/bash cd build -for test_file in ../demo/*.go; do +success_count=0 +failure_count=0 +failed_files=() +successful_files=() + +for test_file in ../test/*.go; do base_name=$(basename "$test_file" .go) echo -e "\n========== 编译 $base_name ==========" - if ! ./tjugo ../demo/$test_file; then - echo "编译错误,按任意键继续..." - read -n 1 -s + if ! ./LiteGoCompiler ../test/$test_file; then + echo "编译错误" + failure_count=$((failure_count + 1)) + failed_files+=("$base_name") + continue fi if ! ld -m elf_i386 -o run.bin out.o print.o; then - echo "链接错误,按任意键继续..." - read -n 1 -s + echo "链接错误" + failure_count=$((failure_count + 1)) + failed_files+=("$base_name") + continue fi echo -e "\n========== 运行 $base_name ==========" if ! ./run.bin; then - echo "运行错误,按任意键继续..." - read -n 1 -s + echo "运行错误" + failure_count=$((failure_count + 1)) + failed_files+=("$base_name") + continue fi -done \ No newline at end of file + + success_count=$((success_count + 1)) + successful_files+=("$base_name") +done + +# 输出统计结果 +echo -e "\n========== 编译结果统计 ==========" +echo "编译成功的文件数量: $success_count" +echo "编译成功的文件名: ${successful_files[*]}" +echo "编译失败的文件数量: $failure_count" +echo "编译失败的文件名: ${failed_files[*]}" \ No newline at end of file