Siddhangana
  • Joined on 2024-12-09
Siddhangana pushed to feature/test-inheritance at Siddhangana/nac3 2025-03-14 16:20:20 +08:00
f8cefb1895 add inheritance test in nac3standalone
Siddhangana pushed to feature/test-inheritance at Siddhangana/nac3 2025-02-07 18:09:58 +08:00
54cb47120d add unit test for direct inheritance check
Siddhangana pushed to feature/test-inheritance at Siddhangana/nac3 2025-02-07 17:54:12 +08:00
b089f8c010 revert 874952178ab2d18e57226460141c2221bdc42d08
Siddhangana pushed to feature/test-inheritance at Siddhangana/nac3 2025-02-07 17:31:21 +08:00
Siddhangana pushed to feature/test-inheritance at Siddhangana/nac3 2025-02-07 17:14:13 +08:00
874952178a add test for single inheritance
Siddhangana commented on issue M-Labs/nac3#71 2025-02-01 16:57:45 +08:00
test inheritance

To add more comprehensive unit tests to ensure inheritance and polymorphism is functional, we can focus on 5 main cases:

Test for -

  1. Basic single inheritance
  2. Multiple inheritance 3.…
Siddhangana pushed to master at Siddhangana/nac3 2025-02-01 15:45:35 +08:00
f817d3347b [artiq] cleanup module functionality tests
2d275949b8 move tests from artiq to standalone
2783834cb1 nac3artiq/demo: merge EmbeddingMap into min_artiq
879b063968 [artiq] add tests for module support
14e80dfab7 update snapshots
Compare 70 commits »
Siddhangana pushed to feature/test-inheritance at Siddhangana/nac3 2025-02-01 15:30:27 +08:00
f817d3347b [artiq] cleanup module functionality tests
2d275949b8 move tests from artiq to standalone
2783834cb1 nac3artiq/demo: merge EmbeddingMap into min_artiq
879b063968 [artiq] add tests for module support
14e80dfab7 update snapshots
Compare 70 commits »
Siddhangana created branch feature/test-inheritance in Siddhangana/nac3 2025-01-31 12:18:18 +08:00
Siddhangana pushed to feature/test-inheritance at Siddhangana/nac3 2025-01-31 12:18:18 +08:00
Siddhangana pushed to feature/support-dunder at Siddhangana/nac3 2025-01-31 11:53:07 +08:00
c4373281c7 WIP: Partial implementation of dunder support
Siddhangana commented on issue M-Labs/nac3#122 2025-01-09 22:09:24 +08:00
support dunder variables

Hi, I tried logging within get_field and get_symbol_value in symbol_resolver.rs but it doesn't indicate in the output which makes me think it occurs before in get_identifier_def. My next step is…

Siddhangana commented on issue M-Labs/nac3#122 2025-01-09 11:48:34 +08:00
support dunder variables
  1. Dumping the fields in the resolver to see how it is stored:

3 dump functions added in the InnerResolver (field_to_val map should involve in resolving class fields like __var1, etc. to their…

Siddhangana commented on issue M-Labs/nac3#122 2025-01-06 16:45:15 +08:00
support dunder variables

Investigations:

  1. Based on a review of the symbol_resolver.rs, the following changes were made to get_symbol_value (see commit):
    fn get_symbol_value<'ctx>(
        &self,
   …
Siddhangana pushed to feature/support-dunder at Siddhangana/nac3 2024-12-24 13:13:35 +08:00
9e12ce442f Add basic test
Siddhangana pushed to feature/support-dunder at Siddhangana/nac3 2024-12-24 09:05:37 +08:00
c01087cc3c Add get_class_name and edit get_symbol_value
Siddhangana pushed to feature/support-dunder at Siddhangana/nac3 2024-12-23 15:06:06 +08:00
ef53c7a2cb Revert codegen.rs to the previous version
Siddhangana deleted branch feature/support-dunder from M-Labs/nac3 2024-12-23 14:35:49 +08:00
Siddhangana pushed to feature/support-dunder at M-Labs/nac3 2024-12-23 14:33:24 +08:00
13c0352614 Revert nac3artiq/src/codegen.rs to previous state
7ad72b7eea Implement name mangling logic in symbol_resolver
Compare 2 commits »
Siddhangana created branch feature/support-dunder in M-Labs/nac3 2024-12-23 14:33:24 +08:00