Skip to content

Conversation

@cstml
Copy link
Contributor

@cstml cstml commented Jan 25, 2023

  • swap the existing interim types for the proto validated ones in the compiler
  • improve data structures - i.e. use Map instead of lists, Text etc.
  • break up the inference into smaller modules.
  • add tests.
  • add some missing low hanging class instances.

@cstml cstml force-pushed the compiler/common-types-kind-checker branch from 3126f50 to eca2810 Compare January 25, 2023 13:00
@cstml cstml marked this pull request as draft January 25, 2023 13:00
@cstml cstml force-pushed the compiler/common-types-kind-checker branch from eca2810 to a51fe83 Compare January 25, 2023 20:18
gnumonik added a commit that referenced this pull request Jan 26, 2023
@cstml cstml force-pushed the compiler/common-types-kind-checker branch from a51fe83 to 9a02484 Compare January 26, 2023 15:55
Base automatically changed from common/proto-types-validated to main January 26, 2023 18:25
@cstml cstml requested review from bladyjoker and gnumonik January 30, 2023 11:30
@cstml cstml added the compiler Work related to the Lambda Buffers Compiler label Jan 30, 2023
@cstml cstml added this to the Catalyst milestone 2 milestone Jan 30, 2023
@cstml cstml self-assigned this Jan 30, 2023
@cstml cstml marked this pull request as ready for review January 30, 2023 11:31
Copy link
Contributor

@bladyjoker bladyjoker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, please take a look at and integrate KC into the CLI

case fromProto @CompilerInput @ProtoCompat.CompilerInput compIn of

Comment on lines 49 to 50
data KindCheckFailure
= CheckFailure String
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's expose that in the API. Try to think of what errors make sense to expose there and in what granularity.

Comment on lines +191 to +193
-- X To Canonical type conversion functions.

-- | TyDef to Kind Canonical representation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bladyjoker bladyjoker merged commit d7291b3 into main Jan 30, 2023
@bladyjoker bladyjoker deleted the compiler/common-types-kind-checker branch January 30, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler Work related to the Lambda Buffers Compiler

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants