├── .github └── workflows │ └── workflow.yml ├── .gitignore ├── .idea └── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── LICENSE ├── README.md ├── analysis ├── build.gradle.kts └── src │ └── commonMain │ └── kotlin │ ├── Errors.kt │ ├── SemanticAnalysisManager.kt │ ├── SymbolBlock.kt │ ├── analyzers │ ├── ISemanticAnalyzer.kt │ ├── SingleNodeAnalyzer.kt │ ├── TypeInferenceVisitor.kt │ └── impl │ │ ├── ArrayAccessAnalyzer.kt │ │ ├── ArrayAnalyzer.kt │ │ ├── AssignmentAnalyzer.kt │ │ ├── BinaryOpAnalyzer.kt │ │ ├── CallAnalyzer.kt │ │ ├── DataFieldAnalyzer.kt │ │ ├── FunctionAnalyzer.kt │ │ ├── InstantiationAnalyzer.kt │ │ ├── LambdaAnalyzer.kt │ │ ├── LambdaParameterAnalyzer.kt │ │ ├── ParameterAnalyzer.kt │ │ ├── StructAccessAnalyzer.kt │ │ ├── StructAnalyzer.kt │ │ ├── StructReferenceAnalyzer.kt │ │ ├── TraitAnalyzer.kt │ │ ├── TraitFunctionCallAnalyzer.kt │ │ ├── TraitImplAnalyzer.kt │ │ └── VariableReferenceAnalyzer.kt │ ├── signature │ └── Signatures.kt │ └── util │ ├── Analysis.kt │ ├── Strings.kt │ ├── Traits.kt │ └── Types.kt ├── backend ├── build.gradle.kts ├── common │ ├── build.gradle.kts │ └── src │ │ └── commonMain │ │ └── kotlin │ │ ├── SeleneCompilerBackend.kt │ │ ├── SeleneCompilerModule.kt │ │ └── intrinsic │ │ ├── IntrinsicFunctionExecutor.kt │ │ └── IntrinsicFunctionRepository.kt └── llvm │ ├── build.gradle.kts │ └── src │ └── commonMain │ └── kotlin │ ├── DragonCompilerBackend.kt │ ├── DragonHookContext.kt │ ├── intrinsic │ ├── DragonIntrinsicFunctionRepository.kt │ ├── Print.kt │ └── Readln.kt │ ├── session │ └── SeleneDragonCompilingSession.kt │ └── util │ └── TypeConversion.kt ├── bard ├── README.md ├── compiler.exe ├── jester ├── jester.exe ├── module.toml ├── output │ ├── ll │ │ ├── bard.ll │ │ ├── signatures.json │ │ └── stdlib.ll │ └── output.exe └── src │ └── main.sn ├── compiler ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ ├── SeleneCompiler.kt │ │ ├── SeleneCompilerPlatform.kt │ │ ├── cli │ │ └── CommandLine.kt │ │ ├── io │ │ ├── IoPlatform.kt │ │ ├── LoggedResourceManager.kt │ │ └── ResourceManager.kt │ │ ├── log │ │ ├── ErrorFormatter.kt │ │ └── MordantLogger.kt │ │ └── util │ │ └── Okio.kt │ ├── jvmMain │ └── kotlin │ │ ├── JvmCompilerPlatform.kt │ │ └── JvmLauncher.kt │ └── nativeMain │ └── kotlin │ ├── NativeCompilerPlatform.kt │ ├── NativeLauncher.kt │ └── Util.kt ├── frontend ├── build.gradle.kts └── src │ └── commonMain │ └── kotlin │ ├── Types.kt │ ├── lexing │ ├── Token.kt │ ├── TokenStream.kt │ ├── error │ │ ├── Lexing.kt │ │ └── Parsing.kt │ └── lexers │ │ ├── Lexer.kt │ │ └── StringLexer.kt │ └── parsing │ ├── Modifiers.kt │ ├── Parser.kt │ └── SyntaxTree.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── gwydion.iml ├── ir ├── build.gradle.kts └── src │ └── commonMain │ └── kotlin │ ├── LLVMCodeAdaptationProcess.kt │ ├── LLVMCodeAdapter.kt │ ├── TypeConversions.kt │ └── intrinsics │ ├── Arrays.kt │ ├── Intrinsic.kt │ ├── Math.kt │ ├── Memory.kt │ ├── Networking.kt │ ├── Print.kt │ └── Readln.kt ├── jester ├── Cargo.toml └── src │ └── main.rs ├── kotlin-js-store └── yarn.lock ├── legacy-llvm ├── build.gradle.kts └── src │ └── commonMain │ └── kotlin │ ├── ILLVMCodeAssembler.kt │ ├── ILLVMCodeGenerator.kt │ ├── LLVMCodeAssembler.kt │ ├── LLVMCodeGenerator.kt │ └── struct │ ├── Comparison.kt │ ├── MemoryUnit.kt │ ├── Op.kt │ ├── Traits.kt │ └── Types.kt ├── libs.versions.toml ├── ll_propotypes └── networking_prototype.ll ├── runestone ├── build.gradle.kts └── src │ └── jsMain │ ├── kotlin │ └── index.kt │ └── resources │ └── index.html ├── runtime └── build.gradle.kts ├── ryujin ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ ├── DragonModule.kt │ │ ├── analyzer │ │ ├── RyujinAnalysisError.kt │ │ ├── RyujinAnalyzer.kt │ │ └── impl │ │ │ └── BalancedRyujinAnalyzer.kt │ │ ├── dsl │ │ ├── FunctionScopeDsl.kt │ │ └── ModuleScopeDsl.kt │ │ ├── function │ │ └── DragonFunction.kt │ │ ├── statement │ │ ├── ControlFlow.kt │ │ ├── DragonStatement.kt │ │ ├── Functions.kt │ │ ├── Math.kt │ │ ├── Memory.kt │ │ └── Pointers.kt │ │ ├── struct │ │ ├── Dependency.kt │ │ ├── Type.kt │ │ └── Value.kt │ │ └── transcript │ │ ├── DefaultDragonIrTranscriber.kt │ │ └── DragonIrTranscriber.kt │ └── commonTest │ └── kotlin │ └── General.kt ├── settings.gradle.kts ├── stdlib ├── README.md ├── module.toml └── src │ ├── collections.sn │ ├── io.sn │ ├── math.sn │ ├── networking.sn │ ├── str.sn │ └── types.sn └── tools ├── build.gradle.kts └── src └── commonMain └── kotlin ├── Either.kt ├── Logging.kt └── locs.kt /.github/workflows/workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/.github/workflows/workflow.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/README.md -------------------------------------------------------------------------------- /analysis/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/build.gradle.kts -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/Errors.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/Errors.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/SemanticAnalysisManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/SemanticAnalysisManager.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/SymbolBlock.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/SymbolBlock.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/ISemanticAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/ISemanticAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/SingleNodeAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/SingleNodeAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/TypeInferenceVisitor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/TypeInferenceVisitor.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/ArrayAccessAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/ArrayAccessAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/ArrayAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/ArrayAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/AssignmentAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/AssignmentAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/BinaryOpAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/BinaryOpAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/CallAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/CallAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/DataFieldAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/DataFieldAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/FunctionAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/FunctionAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/InstantiationAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/InstantiationAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/LambdaAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/LambdaAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/LambdaParameterAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/LambdaParameterAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/ParameterAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/ParameterAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/StructAccessAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/StructAccessAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/StructAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/StructAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/StructReferenceAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/StructReferenceAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/TraitAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/TraitAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/TraitFunctionCallAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/TraitFunctionCallAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/TraitImplAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/TraitImplAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/analyzers/impl/VariableReferenceAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/analyzers/impl/VariableReferenceAnalyzer.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/signature/Signatures.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/signature/Signatures.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/util/Analysis.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/util/Analysis.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/util/Strings.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/util/Strings.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/util/Traits.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/util/Traits.kt -------------------------------------------------------------------------------- /analysis/src/commonMain/kotlin/util/Types.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/analysis/src/commonMain/kotlin/util/Types.kt -------------------------------------------------------------------------------- /backend/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/build.gradle.kts -------------------------------------------------------------------------------- /backend/common/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/common/build.gradle.kts -------------------------------------------------------------------------------- /backend/common/src/commonMain/kotlin/SeleneCompilerBackend.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/common/src/commonMain/kotlin/SeleneCompilerBackend.kt -------------------------------------------------------------------------------- /backend/common/src/commonMain/kotlin/SeleneCompilerModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/common/src/commonMain/kotlin/SeleneCompilerModule.kt -------------------------------------------------------------------------------- /backend/common/src/commonMain/kotlin/intrinsic/IntrinsicFunctionExecutor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/common/src/commonMain/kotlin/intrinsic/IntrinsicFunctionExecutor.kt -------------------------------------------------------------------------------- /backend/common/src/commonMain/kotlin/intrinsic/IntrinsicFunctionRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/common/src/commonMain/kotlin/intrinsic/IntrinsicFunctionRepository.kt -------------------------------------------------------------------------------- /backend/llvm/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/build.gradle.kts -------------------------------------------------------------------------------- /backend/llvm/src/commonMain/kotlin/DragonCompilerBackend.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/src/commonMain/kotlin/DragonCompilerBackend.kt -------------------------------------------------------------------------------- /backend/llvm/src/commonMain/kotlin/DragonHookContext.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/src/commonMain/kotlin/DragonHookContext.kt -------------------------------------------------------------------------------- /backend/llvm/src/commonMain/kotlin/intrinsic/DragonIntrinsicFunctionRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/src/commonMain/kotlin/intrinsic/DragonIntrinsicFunctionRepository.kt -------------------------------------------------------------------------------- /backend/llvm/src/commonMain/kotlin/intrinsic/Print.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/src/commonMain/kotlin/intrinsic/Print.kt -------------------------------------------------------------------------------- /backend/llvm/src/commonMain/kotlin/intrinsic/Readln.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/src/commonMain/kotlin/intrinsic/Readln.kt -------------------------------------------------------------------------------- /backend/llvm/src/commonMain/kotlin/session/SeleneDragonCompilingSession.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/src/commonMain/kotlin/session/SeleneDragonCompilingSession.kt -------------------------------------------------------------------------------- /backend/llvm/src/commonMain/kotlin/util/TypeConversion.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/backend/llvm/src/commonMain/kotlin/util/TypeConversion.kt -------------------------------------------------------------------------------- /bard/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/README.md -------------------------------------------------------------------------------- /bard/compiler.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/compiler.exe -------------------------------------------------------------------------------- /bard/jester: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/jester -------------------------------------------------------------------------------- /bard/jester.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/jester.exe -------------------------------------------------------------------------------- /bard/module.toml: -------------------------------------------------------------------------------- 1 | name="bard" -------------------------------------------------------------------------------- /bard/output/ll/bard.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/output/ll/bard.ll -------------------------------------------------------------------------------- /bard/output/ll/signatures.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/output/ll/signatures.json -------------------------------------------------------------------------------- /bard/output/ll/stdlib.ll: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /bard/output/output.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/output/output.exe -------------------------------------------------------------------------------- /bard/src/main.sn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/bard/src/main.sn -------------------------------------------------------------------------------- /compiler/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/build.gradle.kts -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/SeleneCompiler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/SeleneCompiler.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/SeleneCompilerPlatform.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/SeleneCompilerPlatform.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/cli/CommandLine.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/cli/CommandLine.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/io/IoPlatform.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/io/IoPlatform.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/io/LoggedResourceManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/io/LoggedResourceManager.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/io/ResourceManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/io/ResourceManager.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/log/ErrorFormatter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/log/ErrorFormatter.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/log/MordantLogger.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/log/MordantLogger.kt -------------------------------------------------------------------------------- /compiler/src/commonMain/kotlin/util/Okio.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/commonMain/kotlin/util/Okio.kt -------------------------------------------------------------------------------- /compiler/src/jvmMain/kotlin/JvmCompilerPlatform.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/jvmMain/kotlin/JvmCompilerPlatform.kt -------------------------------------------------------------------------------- /compiler/src/jvmMain/kotlin/JvmLauncher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/jvmMain/kotlin/JvmLauncher.kt -------------------------------------------------------------------------------- /compiler/src/nativeMain/kotlin/NativeCompilerPlatform.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/nativeMain/kotlin/NativeCompilerPlatform.kt -------------------------------------------------------------------------------- /compiler/src/nativeMain/kotlin/NativeLauncher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/nativeMain/kotlin/NativeLauncher.kt -------------------------------------------------------------------------------- /compiler/src/nativeMain/kotlin/Util.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/compiler/src/nativeMain/kotlin/Util.kt -------------------------------------------------------------------------------- /frontend/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/build.gradle.kts -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/Types.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/Types.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/lexing/Token.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/lexing/Token.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/lexing/TokenStream.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/lexing/TokenStream.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/lexing/error/Lexing.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/lexing/error/Lexing.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/lexing/error/Parsing.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/lexing/error/Parsing.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/lexing/lexers/Lexer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/lexing/lexers/Lexer.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/lexing/lexers/StringLexer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/lexing/lexers/StringLexer.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/parsing/Modifiers.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/parsing/Modifiers.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/parsing/Parser.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/parsing/Parser.kt -------------------------------------------------------------------------------- /frontend/src/commonMain/kotlin/parsing/SyntaxTree.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/frontend/src/commonMain/kotlin/parsing/SyntaxTree.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/gradlew.bat -------------------------------------------------------------------------------- /gwydion.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/gwydion.iml -------------------------------------------------------------------------------- /ir/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/build.gradle.kts -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/LLVMCodeAdaptationProcess.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/LLVMCodeAdaptationProcess.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/LLVMCodeAdapter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/LLVMCodeAdapter.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/TypeConversions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/TypeConversions.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/intrinsics/Arrays.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/intrinsics/Arrays.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/intrinsics/Intrinsic.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/intrinsics/Intrinsic.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/intrinsics/Math.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/intrinsics/Math.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/intrinsics/Memory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/intrinsics/Memory.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/intrinsics/Networking.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/intrinsics/Networking.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/intrinsics/Print.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/intrinsics/Print.kt -------------------------------------------------------------------------------- /ir/src/commonMain/kotlin/intrinsics/Readln.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ir/src/commonMain/kotlin/intrinsics/Readln.kt -------------------------------------------------------------------------------- /jester/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/jester/Cargo.toml -------------------------------------------------------------------------------- /jester/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/jester/src/main.rs -------------------------------------------------------------------------------- /kotlin-js-store/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/kotlin-js-store/yarn.lock -------------------------------------------------------------------------------- /legacy-llvm/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/build.gradle.kts -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/ILLVMCodeAssembler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/ILLVMCodeAssembler.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/ILLVMCodeGenerator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/ILLVMCodeGenerator.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/LLVMCodeAssembler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/LLVMCodeAssembler.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/LLVMCodeGenerator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/LLVMCodeGenerator.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/struct/Comparison.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/struct/Comparison.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/struct/MemoryUnit.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/struct/MemoryUnit.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/struct/Op.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/struct/Op.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/struct/Traits.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/struct/Traits.kt -------------------------------------------------------------------------------- /legacy-llvm/src/commonMain/kotlin/struct/Types.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/legacy-llvm/src/commonMain/kotlin/struct/Types.kt -------------------------------------------------------------------------------- /libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/libs.versions.toml -------------------------------------------------------------------------------- /ll_propotypes/networking_prototype.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ll_propotypes/networking_prototype.ll -------------------------------------------------------------------------------- /runestone/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/runestone/build.gradle.kts -------------------------------------------------------------------------------- /runestone/src/jsMain/kotlin/index.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/runestone/src/jsMain/kotlin/index.kt -------------------------------------------------------------------------------- /runestone/src/jsMain/resources/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/runestone/src/jsMain/resources/index.html -------------------------------------------------------------------------------- /runtime/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/runtime/build.gradle.kts -------------------------------------------------------------------------------- /ryujin/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/build.gradle.kts -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/DragonModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/DragonModule.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/analyzer/RyujinAnalysisError.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/analyzer/RyujinAnalysisError.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/analyzer/RyujinAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/analyzer/RyujinAnalyzer.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/analyzer/impl/BalancedRyujinAnalyzer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/analyzer/impl/BalancedRyujinAnalyzer.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/dsl/FunctionScopeDsl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/dsl/FunctionScopeDsl.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/dsl/ModuleScopeDsl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/dsl/ModuleScopeDsl.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/function/DragonFunction.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/function/DragonFunction.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/statement/ControlFlow.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/statement/ControlFlow.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/statement/DragonStatement.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/statement/DragonStatement.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/statement/Functions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/statement/Functions.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/statement/Math.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/statement/Math.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/statement/Memory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/statement/Memory.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/statement/Pointers.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/statement/Pointers.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/struct/Dependency.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/struct/Dependency.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/struct/Type.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/struct/Type.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/struct/Value.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/struct/Value.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/transcript/DefaultDragonIrTranscriber.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/transcript/DefaultDragonIrTranscriber.kt -------------------------------------------------------------------------------- /ryujin/src/commonMain/kotlin/transcript/DragonIrTranscriber.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonMain/kotlin/transcript/DragonIrTranscriber.kt -------------------------------------------------------------------------------- /ryujin/src/commonTest/kotlin/General.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/ryujin/src/commonTest/kotlin/General.kt -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/settings.gradle.kts -------------------------------------------------------------------------------- /stdlib/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/module.toml: -------------------------------------------------------------------------------- 1 | name="stdlib" -------------------------------------------------------------------------------- /stdlib/src/collections.sn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/stdlib/src/collections.sn -------------------------------------------------------------------------------- /stdlib/src/io.sn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/stdlib/src/io.sn -------------------------------------------------------------------------------- /stdlib/src/math.sn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/stdlib/src/math.sn -------------------------------------------------------------------------------- /stdlib/src/networking.sn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/stdlib/src/networking.sn -------------------------------------------------------------------------------- /stdlib/src/str.sn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/stdlib/src/str.sn -------------------------------------------------------------------------------- /stdlib/src/types.sn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/stdlib/src/types.sn -------------------------------------------------------------------------------- /tools/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/tools/build.gradle.kts -------------------------------------------------------------------------------- /tools/src/commonMain/kotlin/Either.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/tools/src/commonMain/kotlin/Either.kt -------------------------------------------------------------------------------- /tools/src/commonMain/kotlin/Logging.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/tools/src/commonMain/kotlin/Logging.kt -------------------------------------------------------------------------------- /tools/src/commonMain/kotlin/locs.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SrGaabriel/selene/HEAD/tools/src/commonMain/kotlin/locs.kt --------------------------------------------------------------------------------