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

Implement mapping semtype in runtime #42956

Commits on Jul 22, 2024

  1. Implement scaffolding

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    58b3177 View commit details
    Browse the repository at this point in the history
  2. Port never type

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    c5397fd View commit details
    Browse the repository at this point in the history
  3. Port nil type

    Avoid repeated type creation
    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    78a1953 View commit details
    Browse the repository at this point in the history
  4. Port Decimal type

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    d59e17f View commit details
    Browse the repository at this point in the history
  5. Port float type

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    ed71405 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b5d6326 View commit details
    Browse the repository at this point in the history
  7. Port int type

    Cache int singleton creation
    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    7954de5 View commit details
    Browse the repository at this point in the history
  8. Port Boolean type

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    ac31fef View commit details
    Browse the repository at this point in the history
  9. Port String type

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    09c5c94 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1c16f6f View commit details
    Browse the repository at this point in the history
  11. Add doc comments

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    8d6a251 View commit details
    Browse the repository at this point in the history
  12. Fix float equality

    heshanpadmasiri committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    1f16d81 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Refactor type tests

    Use new api in CompilerTypeTestApi
    
    Extract out the which semtype implementation used for tests
    
    Implement semtype tests
    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    ee052f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a73764 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42b59ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    32f7c98 View commit details
    Browse the repository at this point in the history
  5. Refactor type resolvers

    Fix doc comments
    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    505006f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be9b5c1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    00e7160 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9abce86 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d0eaf68 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fbbe814 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a912920 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bfb6132 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1cf21f4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    38100fd View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    914a17a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5c19a12 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    32ccb4a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    892fb59 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ad5f250 View commit details
    Browse the repository at this point in the history
  20. Optimize TypeChecker:basicType

    Avoid doing a `instanceOf` on a abstract type (which trigger a full type
    check) and instead use a virtual function that create the basic type
    which should be cheaper
    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    51c1bf2 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c72fcb4 View commit details
    Browse the repository at this point in the history
  22. Fix hash and equals for semtypes

    Memoization depends on hash and equals. Otherwise we create duplicate memos for equal types
    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    3fdd5aa View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b85031e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    17b3872 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    29c0fde View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    7a03d08 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    78429ef View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    a45d97e View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    8ac35eb View commit details
    Browse the repository at this point in the history
  30. Enable more tests

    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    094679e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    631c5a7 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    99ea3a3 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0590827 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    4789a86 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    cd4a805 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    1f2d30a View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    d11f249 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    4637498 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    ca59d70 View commit details
    Browse the repository at this point in the history
  40. Refactor type checker with "widenedType"

    Widened type for basic types is the basic type where as for other types it is contextually expected type (not the actual shape of the value). This is to avoid the overhead of having to create singleton types for each basic type value
    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    e4f565d View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    acdd496 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    e93fc87 View commit details
    Browse the repository at this point in the history
  43. Use shape with lists

    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    605a9dc View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    58a59bc View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    b3a3c34 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    2edcaf7 View commit details
    Browse the repository at this point in the history
  47. Fix synchronizing bug

    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    cc9a6b6 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    3f34ecf View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    c676d37 View commit details
    Browse the repository at this point in the history
  50. Fix runtime type clash

    Due to reasons that are not entierly clear to me when we run all the
    unit tests some how types from `record_project_closed_rec_equiv` to
    clashed with types defined in other unit tests. As a temperary
    workaround I introduced a new package name for this.
    heshanpadmasiri committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    99bae05 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    b6679a6 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    15eb7a5 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    e09fea5 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    034d83e View commit details
    Browse the repository at this point in the history