-
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.11.0-alpha.7 #648
Merged
Merged
v0.11.0-alpha.7 #648
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
Signed-off-by: Luna <dev@lklatzer.com>
Signed-off-by: Luna <dev@lklatzer.com>
Signed-off-by: Luna <dev@lklatzer.com>
Signed-off-by: Luna <dev@lklatzer.com>
Signed-off-by: Luna <dev@lklatzer.com>
…itional-expression.ts
…tps://github.com/Kipper-Lang/Kipper into 534-feature-add-the-ternary-conditional-operator
…conditional-operator Implemented ternary conditional expression
…e-operators-|-and Implemented JavaScript-like bitwise operators
…-11.x chore(deps): update dependency size-limit to v11 (dev-next)
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 5, 2024
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #648 +/- ##
==========================================
- Coverage 83.88% 83.66% -0.22%
==========================================
Files 66 219 +153
Lines 2066 3850 +1784
Branches 252 428 +176
==========================================
+ Hits 1733 3221 +1488
- Misses 217 447 +230
- Partials 116 182 +66 ☔ View full report in Codecov by Sentry. |
…-2.x chore(deps): update dependency @oclif/test to v2.5.6 (dev-next)
chore(deps): update dependency mocha to v10.6.0 (dev-next)
…orepo chore(deps): update dependency eslint to v8.57.0 (dev-next)
…tup-node-4.x chore(deps): update actions/setup-node action to v4 (dev-next)
chore(deps): update dependency @types/sinon to v17 (dev-next)
chore(deps): update dependency uglify-js to v3.18.0 (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 version
0.11.0-alpha.7
, which adds support for bitwise operators, ternary expressions and compiler pragmas.Detailed Changelog
Added
&
,|
,^
,~
,<<
,>>
,>>>
). (#493)COND ? EXP : EXP
) as a ternary operator. (#534)BitwiseExpression
, which represents an AST bitwise expression.BitwiseAndExpression
, which represents an AST bitwise AND expression.BitwiseOrExpression
, which represents an AST bitwise OR expression.BitwiseXorExpression
, which represents an AST bitwise XOR expression.BitwiseShiftExpression
, which represents an AST bitwise shift expression.PragmaProcessor
which handles the processing of all possible Pragmas.BitwiseExpressionSemantics
, which represents the semantics of a bitwise expression.BitwiseExpressionTypeSemantics
, which represents the type semantics of a bitwise expression.BitwiseAndExpressionSemantics
, which represents the semantics of a bitwise AND expression.BitwiseAndExpressionTypeSemantics
, which represents the type semantics of a bitwise AND expression.BitwiseOrExpressionSemantics
, which represents the semantics of a bitwise OR expression.BitwiseOrExpressionTypeSemantics
, which represents the type semantics of a bitwise OR expression.BitwiseXorExpressionSemantics
, which represents the semantics of a bitwise XOR expression.BitwiseXorExpressionTypeSemantics
, which represents the type semantics of a bitwise XOR expression.BitwiseShiftExpressionSemantics
, which represents the semantics of a bitwise shift expression.BitwiseShiftExpressionTypeSemantics
, which represents the type semantics of a bitwise shift expression.DEFAULT_TOKEN_CHANNEL
, which is the channel id of the default channel storing all the parser-relevant tokens thatthe Lexer lexed.
HIDDEN
, which is the channel id of the channel storing all whitespaces and newlines that the Lexer lexed.COMMENT
, which is the channel id of the channel storing all the comments that the Lexer lexed.PRAGMA
, which is the channel id of the channel storing all pragma comments that the Lexer lexed.LexerParserData.channels
, which stores the channels generated by the Lexer.KipperTypeChecker.validConditionalExpression()
, which ensures that a conditional expression is valid.PragmaProcessor.processSingleLine()
, which changes the compiler options according to the pragmas found in the file.Changed
compiler/parser
tolexer-parser
.kipper/core/compiler/parser/parser-ast-mapping.ts
toparse-rule-kind-mappings.ts
.KipperParseStream
toKipperFileStream
including its file tofile-stream.ts
.KipperParseFile
toKipperInputFile
including its file toinput-file.ts
.ParseData
toLexerParserData
.FStringPrimaryExpressionSemantics.items
toatoms
.LexerParserData.parseStream
tofileStream
.Does this PR create new warnings?
None.
Linked issues or PRs
<<
,>>
,>>>
,~
,^
,|
and&
#493