• Joined on 2024-06-03
lyken pushed to issue-385-primdef at M-Labs/nac3 2024-06-12 10:55:00 +08:00
9323877076 core: further document BuiltinBuilder
9bf5e53356 core: Refactor PrimitiveDefinitionIds into an enum & refactor
53d44b9595 standalone: Add np_array tests
6153f94b05 core/numpy: Implement codegen for np_array
4730b595f3 core/builtins: Add np_array function
Compare 13 commits »
lyken pushed to issue-385-primdef at M-Labs/nac3 2024-06-11 17:10:13 +08:00
3aaf21fcf9 core: rename `PrimitiveDefinition` and refactor `get_builtins()`
lyken commented on pull request M-Labs/nac3#408 2024-06-07 13:45:35 +08:00
core: Refactor PrimitiveDefinitionIds into an enum + refactor get_builtins()

This doesn't appear to be the entire list of primitive definitions. What about the other Numpy functions?

I will revise on this.

Also, I would prefer not to comment the ID itself here.

I…

lyken pushed to issue-385-primdef at M-Labs/nac3 2024-06-07 10:02:54 +08:00
84fc379ef4 core: refactor to use PrimitiveDefinition::contains_id
efd8c7121c core: Refactor PrimitiveDefinitionIds into an enum
f0ab1b858a core: Refactor class abstractions
Compare 3 commits »
lyken pushed to issue-385-primdef at M-Labs/nac3 2024-06-06 13:02:27 +08:00
3fc8aa8981 core: refactor to use PrimitiveDefinition::contains_id
4250a0d15a core: Refactor PrimitiveDefinitionIds into an enum
08129cc635 nac3core: add TopLevelComposer::new builtin check's assertion msg
ad4832dcf4 core: Refactor to get LLVM intrinsics via Intrinsics::find
Compare 4 commits »
lyken pushed to issue-385-primdef at M-Labs/nac3 2024-06-06 12:54:38 +08:00
b6ded9a869 core: refactor to use PrimitiveDefinition::contains_id
lyken created pull request M-Labs/nac3#408 2024-06-05 16:43:15 +08:00
core: Refactor PrimitiveDefinitionIds into an enum
lyken pushed to issue-385-primdef at M-Labs/nac3 2024-06-05 16:32:28 +08:00
38981445ae core: Refactor PrimitiveDefinitionIds into an enum
lyken created branch issue-385-primdef in M-Labs/nac3 2024-06-05 16:27:29 +08:00
lyken pushed to issue-385-primdef at M-Labs/nac3 2024-06-05 16:27:29 +08:00
379b30dd4b core: Refactor PrimitiveDefinitionIds into an enum
lyken pushed to master at M-Labs/nac3 2024-06-04 17:15:55 +08:00
b857f1e403 nac3core: fix typo in gen_for's comment
lyken created pull request M-Labs/nac3#406 2024-06-04 13:49:56 +08:00
nac3core: add assertion message in TopLevelComposer::new
lyken pushed to improve_nac3core_assert at M-Labs/nac3 2024-06-04 13:42:46 +08:00
361c36fb25 nac3core: add TopLevelComposer::new builtin check's assertion msg
lyken created branch improve_nac3core_assert in M-Labs/nac3 2024-06-04 13:42:45 +08:00
lyken pushed to fix-nac3standalone-llvmlink at M-Labs/nac3 2024-06-04 10:04:46 +08:00
8ac2baed3f flake: change llvm bintools to llvm.out in devShells
lyken pushed to fix-nac3standalone-llvmlink at M-Labs/nac3 2024-06-03 17:39:38 +08:00
2851e1007a flake: Reorganize buildInputs of devShells.x86_64-linux.default
lyken commented on pull request M-Labs/nac3#405 2024-06-03 17:26:00 +08:00
flake: add llvmPackages_14.llvm to devShells linux default
  1. The tests have pkgs.llvmPackages_14.llvm, which also provides llvm-link like bintools, in their nativeBuildInputs. During their checkPhase the pkgs.llvmPackages_14.llvm is still in…
lyken created pull request M-Labs/nac3#405 2024-06-03 15:26:28 +08:00
flake: add llvmPackages_14.bintools to devShells linux default
lyken created branch fix-nac3standalone-llvmlink in M-Labs/nac3 2024-06-03 15:24:29 +08:00
lyken pushed to fix-nac3standalone-llvmlink at M-Labs/nac3 2024-06-03 15:24:29 +08:00
856834e0dc flake: add llvmPackages_14.bintools