-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.12.0-alpha.0 #666
Merged
Merged
v0.12.0-alpha.0 #666
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…g4 and KipperParser.g4
…class declarations
…r-objects-and-object-types-interfaces
…n of the new type system
…a-comments into 524-feature-implement-internal-representation-for-objects-and-object-types-interfaces
…e-property-declaration.ts as AST Nodes, also adjusted the Antler tree to support properties and methods in interfaces
…w ProcessedType structures This is still WIP!
…ment-internal-representation-for-objects-and-object-types-interfaces
…-internal-representation-for-objects-and-object-types-interfaces
…d internals Still heavily WIP!
…ts-and-object-types-interfaces' of https://github.com/Kipper-Lang/Kipper into 524-feature-implement-internal-representation-for-objects-and-object-types-interfaces
…r-objects-and-object-types-interfaces
…r-objects-and-object-types-interfaces
…generation Even if the syntax is implemented and basic code generation is present proper type checking will have to wait until #524
…-type-and-constant-array-initialisation-expression-syntax Implemented `Array<T>` type and constant array initialisation expression syntax
…ranslation-for-jsts-targets
…support-and-translation-for-jsts-targets Added full object support and translation for JavaScript & TypeScript targets
Luna-Klatzer
added
release
New release of the Kipper module.
skip changelog
Do not include in the changelog when a new release is drafted
labels
Jul 16, 2024
chore(deps): update dependency prettier to v3 (dev-next)
…-even-better-errors-3.x chore(deps): update dependency json-parse-even-better-errors to v3.0.2 (dev-next)
…adge-creator-1.x chore(deps): update dependency coverage-badge-creator to v1.0.19 (dev-next)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
release
New release of the Kipper module.
skip changelog
Do not include in the changelog when a new release is drafted
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of change does this PR perform?
Summary
New development release
0.12.0-alpha.0
, which overhauls the entire core type system, adds support for arrays, adds object literal expressions and basic support generation for interfaces.Detailed Changelog
Not present for website/docs changes
Added
Array<T>
type and single-type array initializers. (#499)semantics/runtime-built-ins
, which contains runtime built-in functions, variables and types.semantics/runtime-internals
, which contains the runtime internal functions.semantics/types
, which contains the runtime types.InterfaceDeclaration
, which represents an AST interface declaration.ClassDeclaration
, which represents an AST class declaration.BuiltInType
, which represents a built-in type.CustomType
, which represents a user defined type.ScopeTypeDeclaration
, which represents a scope type declaration.UniverseTypeDeclaration
, which represents the universe, where all built-in types, functions and variables aredeclared. This serves as the parent of the global scope.
CustomType
, which is a class extending fromProcessedType
and implementing the functionality for a custom type such as a interface or class.TypeCanNotBeUsedForTypeCheckingError
, which is thrown when a type is used for type checking, but is not a valid type. This is an error indicating an invalid logic that should be fixed.GenericArgumentTypeError
, which is thrown when a generic argument is used with an invalid type. This is an error indicating an invalid logic that should be fixed.InvalidAmountOfGenericArgumentsError
, which is thrown when an invalid amount of generic arguments is used. This is an error indicating an invalid logic that should be fixed.CanNotUseNonGenericAsGenericTypeError
, which is thrown when a non-generic type is used as a generic type. This is an error indicating an invalid logic that should be fixed.InterfaceDeclarationSemantics
, which represents the semantics of an interface declaration.InterfaceDeclarationTypeSemantics
, which represents the type semantics of an interface declaration.ClassDeclarationSemantics
, which represents the semantics of a class declaration.ClassDeclarationTypeSemantics
, which represents the type semantics of a class declaration.TypeDeclaration
, which represents a type declaration. This is an abstract base class for all type declarations.TypeDeclarationSemantics
, which represents the semantics of a type declaration.TypeDeclarationTyp
KipperTypeChecker.validArrayExpressioneSemantics
, which represents the type semantics of a type declaration.CompilableType
, which represents a type that can be compiled.KipperTypeChecker.validArrayExpression
, which ensures that an array expression is valid.Changed
InternalFunction
, which represents an internal function.BuiltInFunction
, which represents a built-in function.InternalFunctionArgument
, which represents an internal function argument.BuiltInVariable
, which represents a built-in variable.analysis
tosemantics
.UncheckedType
toRawType
.CheckedType
toProcessedType
.UndefinedCustomType
toUndefinedType
.Does this PR create new warnings?
None.
Linked issues or PRs
Array<T>
type and constant array initialisation expression syntax #499Array<T>
type and constant array initialisation expression syntax #662