Skip to content
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

Feature/35 traits #205

Merged
merged 363 commits into from
Jun 11, 2021
Merged

Feature/35 traits #205

merged 363 commits into from
Jun 11, 2021

Conversation

ppaulweber
Copy link
Member

@ppaulweber ppaulweber commented Jan 7, 2020

This PR introduces the following changes:

  • brings the basic implementation of behavior and implement as described in the ABZ'20 publication
  • complete rework of AST-based execution towards a CST -> AST -> LST -> IR ... lowering
  • template mechanism
  • prelude specification (aka. standard library) CASM.casm
  • relates to struct/module/class concept  sealangdotorg/sea#35
@codecov
Copy link

codecov bot commented Feb 11, 2020

Codecov Report

Merging #205 (3ebe70a) into master (32c7c26) will decrease coverage by 3.95%.
The diff coverage is 30.76%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #205      +/-   ##
==========================================
- Coverage   51.94%   47.98%   -3.96%     
==========================================
  Files          20       27       +7     
  Lines         924     1019      +95     
==========================================
+ Hits          480      489       +9     
- Misses        444      530      +86     
Impacted Files Coverage Δ
src/TypeInfo.h 100.00% <ø> (ø)
src/analyze/ConsistencyCheckPass.h 0.00% <ø> (ø)
src/ast/Node.h 52.63% <0.00%> (-47.37%) ⬇️
src/ast/Visitor.h 100.00% <ø> (ø)
src/cst/Node.h 47.05% <ø> (ø)
src/cst/Visitor.h 100.00% <ø> (ø)
src/execute/Agent.h 100.00% <ø> (ø)
src/execute/ExecutionVisitor.h 0.00% <ø> (ø)
src/execute/UpdateSet.h 81.15% <ø> (-11.33%) ⬇️
src/import/LoadingStrategy.h 100.00% <ø> (ø)
... and 25 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32c7c26...3ebe70a. Read the comment docs.

* with method call expression implement-based method lookup
…getCallExpression

* updated CardinalityExpression as well
* provided generic function to search for type/feature/symbols
* updated TypeCastingExpression implementation
@ppaulweber ppaulweber marked this pull request as ready for review June 11, 2021 12:21
@ppaulweber ppaulweber merged commit 3c16c34 into master Jun 11, 2021
@ppaulweber ppaulweber deleted the feature/35_traits branch June 11, 2021 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant