├── .gitignore ├── Interpreter ├── Interpreter.csproj ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── Samples │ ├── anton.lang │ └── run.lang ├── Lang.Tests ├── Lang.Tests.csproj ├── LangTests.cs └── app.config ├── Lang.sln ├── Lang ├── AST │ ├── ArrayDeclrAst.cs │ ├── ArrayIndexAst.cs │ ├── Ast.cs │ ├── AstTypes.cs │ ├── ClassAst.cs │ ├── ClassReference.cs │ ├── Conditional.cs │ ├── Expr.cs │ ├── ForLoop.cs │ ├── FuncInvoke.cs │ ├── LambdaDeclr.cs │ ├── MethodDeclr.cs │ ├── NewArrayAst.cs │ ├── NewAst.cs │ ├── PrintAst.cs │ ├── ReturnAst.cs │ ├── ScopeDeclr.cs │ ├── TryCatchAst.cs │ ├── VarDeclrAst.cs │ └── WhileLoop.cs ├── Data │ ├── SpecialNames.cs │ ├── Token.cs │ ├── TokenType.cs │ └── ValueMemory.cs ├── Exceptions │ ├── InvalidSyntax.cs │ ├── ReturnException.cs │ └── UndefinedElementException.cs ├── Lang.csproj ├── Lexers │ ├── Lexer.cs │ ├── TokenizableStreamBase.cs │ └── Tokenizer.cs ├── Matches │ ├── IMatcher.cs │ ├── MatchKeyword.cs │ ├── MatchNumber.cs │ ├── MatchString.cs │ ├── MatchWhiteSpace.cs │ ├── MatchWord.cs │ └── MatcherBase.cs ├── Parser │ ├── LanguageParser.cs │ └── ParseableTokenStream.cs ├── Spaces │ ├── IScopeable.cs │ ├── MemorySpace.cs │ ├── Scope.cs │ ├── ScopeContainer.cs │ └── ScopeStack.cs ├── Symbols │ ├── BuiltInType.cs │ ├── ClassSymbol.cs │ ├── ExpressionTypes.cs │ ├── IType.cs │ ├── MethodSymbol.cs │ ├── StructSymbol.cs │ ├── Symbol.cs │ └── UserDefinedType.cs ├── Utils │ ├── CollectionUtil.cs │ ├── ExtensionMethods.cs │ ├── Maybe.cs │ ├── NullTester.cs │ ├── ScopeUtil.cs │ └── TokenUtil.cs ├── Visitors │ ├── IAcceptVisitor.cs │ ├── IAstVisitor.cs │ ├── InterpretorVisitor.cs │ ├── PrintAstVisitor.cs │ └── ScopeBuilderVisitor.cs ├── app.config └── packages.config ├── License ├── README.md └── packages ├── NUnit.2.6.2 ├── NUnit.2.6.2.nupkg ├── lib │ ├── nunit.framework.dll │ └── nunit.framework.xml └── license.txt └── repositories.config /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/.gitignore -------------------------------------------------------------------------------- /Interpreter/Interpreter.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Interpreter/Interpreter.csproj -------------------------------------------------------------------------------- /Interpreter/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Interpreter/Program.cs -------------------------------------------------------------------------------- /Interpreter/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Interpreter/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /Interpreter/Samples/anton.lang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Interpreter/Samples/anton.lang -------------------------------------------------------------------------------- /Interpreter/Samples/run.lang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Interpreter/Samples/run.lang -------------------------------------------------------------------------------- /Lang.Tests/Lang.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang.Tests/Lang.Tests.csproj -------------------------------------------------------------------------------- /Lang.Tests/LangTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang.Tests/LangTests.cs -------------------------------------------------------------------------------- /Lang.Tests/app.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang.Tests/app.config -------------------------------------------------------------------------------- /Lang.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang.sln -------------------------------------------------------------------------------- /Lang/AST/ArrayDeclrAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/ArrayDeclrAst.cs -------------------------------------------------------------------------------- /Lang/AST/ArrayIndexAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/ArrayIndexAst.cs -------------------------------------------------------------------------------- /Lang/AST/Ast.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/Ast.cs -------------------------------------------------------------------------------- /Lang/AST/AstTypes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/AstTypes.cs -------------------------------------------------------------------------------- /Lang/AST/ClassAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/ClassAst.cs -------------------------------------------------------------------------------- /Lang/AST/ClassReference.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/ClassReference.cs -------------------------------------------------------------------------------- /Lang/AST/Conditional.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/Conditional.cs -------------------------------------------------------------------------------- /Lang/AST/Expr.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/Expr.cs -------------------------------------------------------------------------------- /Lang/AST/ForLoop.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/ForLoop.cs -------------------------------------------------------------------------------- /Lang/AST/FuncInvoke.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/FuncInvoke.cs -------------------------------------------------------------------------------- /Lang/AST/LambdaDeclr.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/LambdaDeclr.cs -------------------------------------------------------------------------------- /Lang/AST/MethodDeclr.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/MethodDeclr.cs -------------------------------------------------------------------------------- /Lang/AST/NewArrayAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/NewArrayAst.cs -------------------------------------------------------------------------------- /Lang/AST/NewAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/NewAst.cs -------------------------------------------------------------------------------- /Lang/AST/PrintAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/PrintAst.cs -------------------------------------------------------------------------------- /Lang/AST/ReturnAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/ReturnAst.cs -------------------------------------------------------------------------------- /Lang/AST/ScopeDeclr.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/ScopeDeclr.cs -------------------------------------------------------------------------------- /Lang/AST/TryCatchAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/TryCatchAst.cs -------------------------------------------------------------------------------- /Lang/AST/VarDeclrAst.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/VarDeclrAst.cs -------------------------------------------------------------------------------- /Lang/AST/WhileLoop.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/AST/WhileLoop.cs -------------------------------------------------------------------------------- /Lang/Data/SpecialNames.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Data/SpecialNames.cs -------------------------------------------------------------------------------- /Lang/Data/Token.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Data/Token.cs -------------------------------------------------------------------------------- /Lang/Data/TokenType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Data/TokenType.cs -------------------------------------------------------------------------------- /Lang/Data/ValueMemory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Data/ValueMemory.cs -------------------------------------------------------------------------------- /Lang/Exceptions/InvalidSyntax.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Exceptions/InvalidSyntax.cs -------------------------------------------------------------------------------- /Lang/Exceptions/ReturnException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Exceptions/ReturnException.cs -------------------------------------------------------------------------------- /Lang/Exceptions/UndefinedElementException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Exceptions/UndefinedElementException.cs -------------------------------------------------------------------------------- /Lang/Lang.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Lang.csproj -------------------------------------------------------------------------------- /Lang/Lexers/Lexer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Lexers/Lexer.cs -------------------------------------------------------------------------------- /Lang/Lexers/TokenizableStreamBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Lexers/TokenizableStreamBase.cs -------------------------------------------------------------------------------- /Lang/Lexers/Tokenizer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Lexers/Tokenizer.cs -------------------------------------------------------------------------------- /Lang/Matches/IMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Matches/IMatcher.cs -------------------------------------------------------------------------------- /Lang/Matches/MatchKeyword.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Matches/MatchKeyword.cs -------------------------------------------------------------------------------- /Lang/Matches/MatchNumber.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Matches/MatchNumber.cs -------------------------------------------------------------------------------- /Lang/Matches/MatchString.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Matches/MatchString.cs -------------------------------------------------------------------------------- /Lang/Matches/MatchWhiteSpace.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Matches/MatchWhiteSpace.cs -------------------------------------------------------------------------------- /Lang/Matches/MatchWord.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Matches/MatchWord.cs -------------------------------------------------------------------------------- /Lang/Matches/MatcherBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Matches/MatcherBase.cs -------------------------------------------------------------------------------- /Lang/Parser/LanguageParser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Parser/LanguageParser.cs -------------------------------------------------------------------------------- /Lang/Parser/ParseableTokenStream.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Parser/ParseableTokenStream.cs -------------------------------------------------------------------------------- /Lang/Spaces/IScopeable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Spaces/IScopeable.cs -------------------------------------------------------------------------------- /Lang/Spaces/MemorySpace.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Spaces/MemorySpace.cs -------------------------------------------------------------------------------- /Lang/Spaces/Scope.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Spaces/Scope.cs -------------------------------------------------------------------------------- /Lang/Spaces/ScopeContainer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Spaces/ScopeContainer.cs -------------------------------------------------------------------------------- /Lang/Spaces/ScopeStack.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Spaces/ScopeStack.cs -------------------------------------------------------------------------------- /Lang/Symbols/BuiltInType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/BuiltInType.cs -------------------------------------------------------------------------------- /Lang/Symbols/ClassSymbol.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/ClassSymbol.cs -------------------------------------------------------------------------------- /Lang/Symbols/ExpressionTypes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/ExpressionTypes.cs -------------------------------------------------------------------------------- /Lang/Symbols/IType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/IType.cs -------------------------------------------------------------------------------- /Lang/Symbols/MethodSymbol.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/MethodSymbol.cs -------------------------------------------------------------------------------- /Lang/Symbols/StructSymbol.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/StructSymbol.cs -------------------------------------------------------------------------------- /Lang/Symbols/Symbol.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/Symbol.cs -------------------------------------------------------------------------------- /Lang/Symbols/UserDefinedType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Symbols/UserDefinedType.cs -------------------------------------------------------------------------------- /Lang/Utils/CollectionUtil.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Utils/CollectionUtil.cs -------------------------------------------------------------------------------- /Lang/Utils/ExtensionMethods.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Utils/ExtensionMethods.cs -------------------------------------------------------------------------------- /Lang/Utils/Maybe.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Utils/Maybe.cs -------------------------------------------------------------------------------- /Lang/Utils/NullTester.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Utils/NullTester.cs -------------------------------------------------------------------------------- /Lang/Utils/ScopeUtil.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Utils/ScopeUtil.cs -------------------------------------------------------------------------------- /Lang/Utils/TokenUtil.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Utils/TokenUtil.cs -------------------------------------------------------------------------------- /Lang/Visitors/IAcceptVisitor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Visitors/IAcceptVisitor.cs -------------------------------------------------------------------------------- /Lang/Visitors/IAstVisitor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Visitors/IAstVisitor.cs -------------------------------------------------------------------------------- /Lang/Visitors/InterpretorVisitor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Visitors/InterpretorVisitor.cs -------------------------------------------------------------------------------- /Lang/Visitors/PrintAstVisitor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Visitors/PrintAstVisitor.cs -------------------------------------------------------------------------------- /Lang/Visitors/ScopeBuilderVisitor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/Visitors/ScopeBuilderVisitor.cs -------------------------------------------------------------------------------- /Lang/app.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/app.config -------------------------------------------------------------------------------- /Lang/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/Lang/packages.config -------------------------------------------------------------------------------- /License: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/License -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/README.md -------------------------------------------------------------------------------- /packages/NUnit.2.6.2/NUnit.2.6.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/packages/NUnit.2.6.2/NUnit.2.6.2.nupkg -------------------------------------------------------------------------------- /packages/NUnit.2.6.2/lib/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/packages/NUnit.2.6.2/lib/nunit.framework.dll -------------------------------------------------------------------------------- /packages/NUnit.2.6.2/lib/nunit.framework.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/packages/NUnit.2.6.2/lib/nunit.framework.xml -------------------------------------------------------------------------------- /packages/NUnit.2.6.2/license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/packages/NUnit.2.6.2/license.txt -------------------------------------------------------------------------------- /packages/repositories.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devshorts/LanguageCreator/HEAD/packages/repositories.config --------------------------------------------------------------------------------