1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00
Commit Graph

25709 Commits

Author SHA1 Message Date
joshvera
25dae2319a Fix up a couple more eval instances
and comment out even more
2018-10-29 18:08:56 -04:00
joshvera
bdf047d4a3 Implement qualified export Evaluatable instance 2018-10-19 17:54:23 -04:00
joshvera
ccb620c66a Add Export EdgeLabel 2018-10-19 17:52:58 -04:00
joshvera
e32804e0fa Add putCurrentScope 2018-10-19 17:52:03 -04:00
joshvera
4c10693c95 Add import/export examples to scratchpad 2018-10-19 17:51:42 -04:00
joshvera
7374287af3 Add an edge label scratch pad
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-18 21:07:57 -04:00
joshvera
9744312803 Declare an alias with an associated scope for QualifiedAliasedImport
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 18:42:28 -04:00
joshvera
c92e429bb2 Implement Evaluatable Import in terms of insertImportReference and insertEdge
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 18:20:30 -04:00
joshvera
afbc2d7bfc Add insertScope, insertImportReference, insertEdge
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 18:19:54 -04:00
joshvera
1f4b59fd71 Add ScopeError constraint to eval
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 18:19:31 -04:00
joshvera
9decb63096 Add insertEdge
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 18:19:22 -04:00
joshvera
1198587031 Remove whitespace
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 17:20:21 -04:00
joshvera
49d72843c5 Kind of replace Env with scope graph
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 17:20:14 -04:00
joshvera
56f8b09f2b Kind of run the Abstract semantics body
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 17:19:58 -04:00
joshvera
630e99d8e4 Change concrete semantics to assign the closure to the function's address
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 17:19:42 -04:00
joshvera
b2d40e6ee4 Export lookupScopePath
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 17:19:17 -04:00
joshvera
6ebbfe268a Export lookupDeclaration
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 17:19:11 -04:00
joshvera
6e7e5cffbe Add lookupDeclaration and lookupFrameAddress
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-10-17 14:41:56 -04:00
joshvera
1ab7eb1ced Change order of lookup arguments in Heap 2018-10-17 14:41:26 -04:00
joshvera
4e65b1ec23 Add lookupScopePath to ScopeGraph 2018-10-17 14:41:00 -04:00
joshvera
b78cb25ba8 lookupScopePath returns a Maybe Path 2018-10-17 13:44:42 -04:00
joshvera
b8afed8ed7 lookupDeclaration returns the Maybe ddata 2018-10-17 13:44:31 -04:00
joshvera
29157620dc Remove Env constraints 2018-10-16 11:13:13 -04:00
joshvera
c357f0164a Add insertImportReference 2018-10-16 11:12:49 -04:00
joshvera
ae6b1ba788 Change bindAll to merge the old scope graph into the current scope graph 2018-10-16 11:12:19 -04:00
joshvera
cbd77eeb0e Remove Env constraints 2018-10-16 11:04:25 -04:00
joshvera
911cd0b7f0 docs 2018-10-16 11:03:53 -04:00
joshvera
3335f89737 replace letrec' with withChildFrame in QualifiedImport eval 2018-10-04 20:08:19 -04:00
joshvera
92362c2ea5 store values in classes 2018-10-04 20:07:56 -04:00
joshvera
36b170e764 Implement newScope in terms of insertScope 2018-10-04 20:07:49 -04:00
joshvera
f15fde32dc define returns a value now 2018-10-04 20:07:24 -04:00
joshvera
cc7b65d3fb use define and withChildFrame in makeNamespace 2018-10-04 20:06:59 -04:00
joshvera
4546729aff store values and addresses in klasses 2018-10-04 20:06:26 -04:00
joshvera
f3247cfa0f Implement bindAll and lookupScope effects 2018-10-04 20:06:09 -04:00
joshvera
07f684fa13 Replace define and binds with call to withChildFrame 2018-10-04 20:05:46 -04:00
joshvera
7a3b019271 Move define and withChildFrame to Heap 2018-10-04 20:05:23 -04:00
joshvera
92169d2031 qualify name 2018-10-02 16:41:12 -04:00
joshvera
2e4b0617ed parameterize ValueRef with value 2018-10-02 16:40:59 -04:00
joshvera
bd415bb065 Class values capture a frame address 2018-10-02 16:40:48 -04:00
joshvera
a4b3a377f7 Add heap and scope constraints to prelude 2018-10-02 16:40:37 -04:00
joshvera
6cec0be9b2 parameterize ValueRef with value 2018-10-02 16:40:00 -04:00
joshvera
4978ea18ce klass captures a frame address 2018-10-02 16:39:51 -04:00
joshvera
9a9faaa521 Bring back subtermValue 2018-10-02 16:39:38 -04:00
joshvera
48d19477ca Remove Env constraints in defineNamespace and defineClass 2018-10-02 16:39:18 -04:00
joshvera
151fa2af00 Take a set of values in defineClass 2018-10-02 16:38:58 -04:00
joshvera
5e6694d38f Remove Environment constraints from builtInPrint 2018-10-02 16:38:43 -04:00
joshvera
5f81398920 Remove bind call from define
We now write the value to the address in the heap
2018-10-02 16:38:04 -04:00
joshvera
65f8153902 Remove EnvironmentError constraint 2018-10-02 16:36:42 -04:00
joshvera
cfb54b3a17 Parameterize ValueRef by value 2018-10-02 16:36:29 -04:00
joshvera
e29a93dcc5 Parameterize Rval by value 2018-10-01 18:50:32 -04:00