-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolution from root module (#493)
Fix resolution from root module Resolving symbols in modules from the root context was not working correctly. The problem was that symbols were initialised in a module-by-module basis. Therefore, symbols in non-root modules were being initialised after resolution of the root module.
- Loading branch information
1 parent
f039ee5
commit 42d5ff0
Showing
8 changed files
with
250 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
;; { "X": [], "m1.A": [] } | ||
;; { "X": [0], "m1.A": [0] } | ||
;; Check initial padding row! | ||
{ "X": [0], "m1.A": [1] } | ||
;; | ||
{ "X": [0,0], "m1.A": [0,0] } | ||
{ "X": [0,0], "m1.A": [0,1] } | ||
{ "X": [0,0], "m1.A": [1,0] } | ||
{ "X": [1,0], "m1.A": [0,1] } | ||
{ "X": [1,0], "m1.A": [1,0] } | ||
{ "X": [1,0], "m1.A": [1,1] } | ||
{ "X": [0,1], "m1.A": [0,1] } | ||
{ "X": [0,1], "m1.A": [1,0] } | ||
{ "X": [0,1], "m1.A": [1,1] } | ||
{ "X": [1,1], "m1.A": [0,1] } | ||
{ "X": [1,1], "m1.A": [1,0] } | ||
{ "X": [1,1], "m1.A": [1,1] } | ||
{ "X": [1,1], "m1.A": [1,2] } | ||
{ "X": [2,2], "m1.A": [2,2] } | ||
{ "X": [2,2], "m1.A": [2,1] } | ||
{ "X": [2,2], "m1.A": [1,2] } | ||
{ "X": [1,2], "m1.A": [2,1] } | ||
{ "X": [1,2], "m1.A": [1,2] } | ||
{ "X": [2,1], "m1.A": [2,1] } | ||
{ "X": [2,1], "m1.A": [1,2] } | ||
{ "X": [1,1], "m1.A": [2,1] } | ||
{ "X": [1,1], "m1.A": [1,2] } | ||
{ "X": [1,1], "m1.A": [1,1] } | ||
;; | ||
{ "X": [0,0,0], "m1.A": [2,0,1] } | ||
{ "X": [1,0,0], "m1.A": [2,0,1] } | ||
{ "X": [0,1,0], "m1.A": [2,0,1] } | ||
{ "X": [0,0,1], "m1.A": [2,0,1] } | ||
{ "X": [1,0,1], "m1.A": [2,0,1] } | ||
{ "X": [0,1,1], "m1.A": [2,0,1] } | ||
{ "X": [1,1,0], "m1.A": [2,0,1] } | ||
{ "X": [1,1,1], "m1.A": [2,0,1] } | ||
{ "X": [0,0,0], "m1.A": [0,2,1] } | ||
{ "X": [1,0,0], "m1.A": [0,2,1] } | ||
{ "X": [0,1,0], "m1.A": [0,2,1] } | ||
{ "X": [0,0,1], "m1.A": [0,2,1] } | ||
{ "X": [1,0,1], "m1.A": [0,2,1] } | ||
{ "X": [0,1,1], "m1.A": [0,2,1] } | ||
{ "X": [1,1,0], "m1.A": [0,2,1] } | ||
{ "X": [1,1,1], "m1.A": [0,2,1] } | ||
{ "X": [0,0,0], "m1.A": [0,1,2] } | ||
{ "X": [1,0,0], "m1.A": [0,1,2] } | ||
{ "X": [0,1,0], "m1.A": [0,1,2] } | ||
{ "X": [0,0,1], "m1.A": [0,1,2] } | ||
{ "X": [1,0,1], "m1.A": [0,1,2] } | ||
{ "X": [0,1,1], "m1.A": [0,1,2] } | ||
{ "X": [1,1,0], "m1.A": [0,1,2] } | ||
{ "X": [1,1,1], "m1.A": [0,1,2] } | ||
{ "X": [0,0,0], "m1.A": [2,1,0] } | ||
{ "X": [1,0,0], "m1.A": [2,1,0] } | ||
{ "X": [0,1,0], "m1.A": [2,1,0] } | ||
{ "X": [0,0,1], "m1.A": [2,1,0] } | ||
{ "X": [1,0,1], "m1.A": [2,1,0] } | ||
{ "X": [0,1,1], "m1.A": [2,1,0] } | ||
{ "X": [1,1,0], "m1.A": [2,1,0] } | ||
{ "X": [1,1,1], "m1.A": [2,1,0] } | ||
{ "X": [0,0,0], "m1.A": [1,2,0] } | ||
{ "X": [1,0,0], "m1.A": [1,2,0] } | ||
{ "X": [0,1,0], "m1.A": [1,2,0] } | ||
{ "X": [0,0,1], "m1.A": [1,2,0] } | ||
{ "X": [1,0,1], "m1.A": [1,2,0] } | ||
{ "X": [0,1,1], "m1.A": [1,2,0] } | ||
{ "X": [1,1,0], "m1.A": [1,2,0] } | ||
{ "X": [1,1,1], "m1.A": [1,2,0] } | ||
{ "X": [0,0,0], "m1.A": [1,0,2] } | ||
{ "X": [1,0,0], "m1.A": [1,0,2] } | ||
{ "X": [0,1,0], "m1.A": [1,0,2] } | ||
{ "X": [0,0,1], "m1.A": [1,0,2] } | ||
{ "X": [1,0,1], "m1.A": [1,0,2] } | ||
{ "X": [0,1,1], "m1.A": [1,0,2] } | ||
{ "X": [1,1,0], "m1.A": [1,0,2] } | ||
{ "X": [1,1,1], "m1.A": [1,0,2] } | ||
{ "X": [0,0,0], "m1.A": [2,1,1] } | ||
{ "X": [1,0,0], "m1.A": [2,1,1] } | ||
{ "X": [0,1,0], "m1.A": [2,1,1] } | ||
{ "X": [0,0,1], "m1.A": [2,1,1] } | ||
{ "X": [1,0,1], "m1.A": [2,1,1] } | ||
{ "X": [0,1,1], "m1.A": [2,1,1] } | ||
{ "X": [1,1,0], "m1.A": [2,1,1] } | ||
{ "X": [1,1,1], "m1.A": [2,1,1] } | ||
{ "X": [0,0,0], "m1.A": [1,2,1] } | ||
{ "X": [1,0,0], "m1.A": [1,2,1] } | ||
{ "X": [0,1,0], "m1.A": [1,2,1] } | ||
{ "X": [0,0,1], "m1.A": [1,2,1] } | ||
{ "X": [1,0,1], "m1.A": [1,2,1] } | ||
{ "X": [0,1,1], "m1.A": [1,2,1] } | ||
{ "X": [1,1,0], "m1.A": [1,2,1] } | ||
{ "X": [1,1,1], "m1.A": [1,2,1] } | ||
{ "X": [0,0,0], "m1.A": [1,1,2] } | ||
{ "X": [1,0,0], "m1.A": [1,1,2] } | ||
{ "X": [0,1,0], "m1.A": [1,1,2] } | ||
{ "X": [0,0,1], "m1.A": [1,1,2] } | ||
{ "X": [1,0,1], "m1.A": [1,1,2] } | ||
{ "X": [0,1,1], "m1.A": [1,1,2] } | ||
{ "X": [1,1,0], "m1.A": [1,1,2] } | ||
{ "X": [1,1,1], "m1.A": [1,1,2] } | ||
;; | ||
{ "X": [3,3,3], "m1.A": [2,3,1] } | ||
{ "X": [1,3,3], "m1.A": [2,3,1] } | ||
{ "X": [3,1,3], "m1.A": [2,3,1] } | ||
{ "X": [3,3,1], "m1.A": [2,3,1] } | ||
{ "X": [1,3,1], "m1.A": [2,3,1] } | ||
{ "X": [3,1,1], "m1.A": [2,3,1] } | ||
{ "X": [1,1,3], "m1.A": [2,3,1] } | ||
{ "X": [1,1,1], "m1.A": [2,3,1] } | ||
{ "X": [3,3,3], "m1.A": [3,2,1] } | ||
{ "X": [1,3,3], "m1.A": [3,2,1] } | ||
{ "X": [3,1,3], "m1.A": [3,2,1] } | ||
{ "X": [3,3,1], "m1.A": [3,2,1] } | ||
{ "X": [1,3,1], "m1.A": [3,2,1] } | ||
{ "X": [3,1,1], "m1.A": [3,2,1] } | ||
{ "X": [1,1,3], "m1.A": [3,2,1] } | ||
{ "X": [1,1,1], "m1.A": [3,2,1] } | ||
{ "X": [3,3,3], "m1.A": [3,1,2] } | ||
{ "X": [1,3,3], "m1.A": [3,1,2] } | ||
{ "X": [3,1,3], "m1.A": [3,1,2] } | ||
{ "X": [3,3,1], "m1.A": [3,1,2] } | ||
{ "X": [1,3,1], "m1.A": [3,1,2] } | ||
{ "X": [3,1,1], "m1.A": [3,1,2] } | ||
{ "X": [1,1,3], "m1.A": [3,1,2] } | ||
{ "X": [1,1,1], "m1.A": [3,1,2] } | ||
{ "X": [3,3,3], "m1.A": [2,1,3] } | ||
{ "X": [1,3,3], "m1.A": [2,1,3] } | ||
{ "X": [3,1,3], "m1.A": [2,1,3] } | ||
{ "X": [3,3,1], "m1.A": [2,1,3] } | ||
{ "X": [1,3,1], "m1.A": [2,1,3] } | ||
{ "X": [3,1,1], "m1.A": [2,1,3] } | ||
{ "X": [1,1,3], "m1.A": [2,1,3] } | ||
{ "X": [1,1,1], "m1.A": [2,1,3] } | ||
{ "X": [3,3,3], "m1.A": [1,2,3] } | ||
{ "X": [1,3,3], "m1.A": [1,2,3] } | ||
{ "X": [3,1,3], "m1.A": [1,2,3] } | ||
{ "X": [3,3,1], "m1.A": [1,2,3] } | ||
{ "X": [1,3,1], "m1.A": [1,2,3] } | ||
{ "X": [3,1,1], "m1.A": [1,2,3] } | ||
{ "X": [1,1,3], "m1.A": [1,2,3] } | ||
{ "X": [1,1,1], "m1.A": [1,2,3] } | ||
{ "X": [3,3,3], "m1.A": [1,3,2] } | ||
{ "X": [1,3,3], "m1.A": [1,3,2] } | ||
{ "X": [3,1,3], "m1.A": [1,3,2] } | ||
{ "X": [3,3,1], "m1.A": [1,3,2] } | ||
{ "X": [1,3,1], "m1.A": [1,3,2] } | ||
{ "X": [3,1,1], "m1.A": [1,3,2] } | ||
{ "X": [1,1,3], "m1.A": [1,3,2] } | ||
{ "X": [1,1,1], "m1.A": [1,3,2] } | ||
;; | ||
{ "X": [3,3,3], "m1.A": [1,2,3] } | ||
{ "X": [1,3,3], "m1.A": [1,2,3] } | ||
{ "X": [3,1,3], "m1.A": [1,2,3] } | ||
{ "X": [3,3,1], "m1.A": [1,2,3] } | ||
{ "X": [1,3,1], "m1.A": [1,2,3] } | ||
{ "X": [3,1,1], "m1.A": [1,2,3] } | ||
{ "X": [1,1,3], "m1.A": [1,2,3] } | ||
{ "X": [1,1,1], "m1.A": [1,2,3] } | ||
{ "X": [3,3,3], "m1.A": [2,1,3] } | ||
{ "X": [1,3,3], "m1.A": [2,1,3] } | ||
{ "X": [3,1,3], "m1.A": [2,1,3] } | ||
{ "X": [3,3,1], "m1.A": [2,1,3] } | ||
{ "X": [1,3,1], "m1.A": [2,1,3] } | ||
{ "X": [3,1,1], "m1.A": [2,1,3] } | ||
{ "X": [1,1,3], "m1.A": [2,1,3] } | ||
{ "X": [1,1,1], "m1.A": [2,1,3] } | ||
{ "X": [3,3,3], "m1.A": [1,3,2] } | ||
{ "X": [1,3,3], "m1.A": [1,3,2] } | ||
{ "X": [3,1,3], "m1.A": [1,3,2] } | ||
{ "X": [3,3,1], "m1.A": [1,3,2] } | ||
{ "X": [1,3,1], "m1.A": [1,3,2] } | ||
{ "X": [3,1,1], "m1.A": [1,3,2] } | ||
{ "X": [1,1,3], "m1.A": [1,3,2] } | ||
{ "X": [1,1,1], "m1.A": [1,3,2] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(defcolumns X) | ||
(deflookup test (m1.A) (X)) | ||
|
||
(module m1) | ||
(defcolumns A) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ "X": [1], "m1.A": [2] } | ||
;; | ||
{ "X": [1,2], "m1.A": [1,1] } | ||
{ "X": [2,1], "m1.A": [1,1] } | ||
{ "X": [2,2], "m1.A": [1,1] } | ||
;; | ||
{ "X": [1,2], "m1.A": [1,3] } | ||
{ "X": [1,2], "m1.A": [3,1] } | ||
{ "X": [1,2], "m1.A": [1,1] } | ||
{ "X": [2,1], "m1.A": [1,1] } | ||
{ "X": [2,1], "m1.A": [1,3] } | ||
{ "X": [2,1], "m1.A": [3,1] } | ||
{ "X": [2,2], "m1.A": [1,3] } | ||
{ "X": [2,2], "m1.A": [3,1] } | ||
;; | ||
{ "X": [3,3,3], "m1.A": [1,2,1] } | ||
{ "X": [1,3,3], "m1.A": [1,2,1] } | ||
{ "X": [3,1,3], "m1.A": [1,2,1] } | ||
{ "X": [3,3,1], "m1.A": [1,2,1] } | ||
{ "X": [1,3,1], "m1.A": [1,2,1] } | ||
{ "X": [3,1,1], "m1.A": [1,2,1] } | ||
{ "X": [1,1,3], "m1.A": [1,2,1] } | ||
{ "X": [1,1,1], "m1.A": [2,2,2] } | ||
{ "X": [1,1,1], "m1.A": [2,2,3] } | ||
{ "X": [1,1,1], "m1.A": [3,2,2] } | ||
{ "X": [1,1,1], "m1.A": [2,3,2] } | ||
{ "X": [3,3,3], "m1.A": [1,1,2] } | ||
{ "X": [1,3,3], "m1.A": [1,1,2] } | ||
{ "X": [3,1,3], "m1.A": [1,1,2] } | ||
{ "X": [3,3,1], "m1.A": [1,1,2] } | ||
{ "X": [1,3,1], "m1.A": [1,1,2] } | ||
{ "X": [3,1,1], "m1.A": [1,1,2] } | ||
{ "X": [1,1,3], "m1.A": [1,1,2] } | ||
{ "X": [1,1,1], "m1.A": [2,2,2] } | ||
{ "X": [1,1,1], "m1.A": [3,2,2] } | ||
{ "X": [1,1,1], "m1.A": [2,3,2] } | ||
{ "X": [1,1,1], "m1.A": [2,2,3] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters