1
1
mirror of https://github.com/github/semantic.git synced 2024-12-15 10:02:27 +03:00
Commit Graph

26904 Commits

Author SHA1 Message Date
Rob Rix
b77dc95d4f Reintroduce heapRestrict. 2018-12-05 13:08:24 -05:00
Rob Rix
6a0aadb600 Revert "🔥 modifyHeap."
This reverts commit 0f829170901c3765b28084d4ff09fab41820cc6b.
2018-12-05 13:03:58 -05:00
Rob Rix
bbd698281d 🔥 modifyHeap. 2018-12-05 12:59:48 -05:00
Rob Rix
5416079e22 🔥 a redundant constraint. 2018-12-05 12:54:52 -05:00
Rob Rix
665a8bf0c2 🔥 redundant constraints. 2018-12-05 12:54:13 -05:00
Rob Rix
1a32bcc688 🔥 a redundant binding. 2018-12-05 12:54:06 -05:00
Patrick Thomson
f9809a9ffe Merge branch 'master' into tokenize-ruby 2018-12-05 12:47:26 -05:00
joshvera
a2026e8ada Add valueRef tests back 2018-12-05 12:44:52 -05:00
Rob Rix
572336715d Merge pull request #2287 from github/https-url-for-fastsum-submodule
Use an https URL for the fastsum submodule.
2018-12-05 12:37:08 -05:00
joshvera
60ad7e7263 Bring back valueRef tests 2018-12-05 12:22:32 -05:00
Rob Rix
e46cf67eb3 Use an https URL for the fastsum submodule. 2018-12-05 12:16:40 -05:00
joshvera
73ae9f85a1 Deref slots in evalRubyProject
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-05 12:12:13 -05:00
joshvera
1914a94500 Add -dynamic in test debug builds as well 2018-12-05 11:28:21 -05:00
joshvera
9b8a93bc04 Replace -static with -dynamic in non-release builds
Improves performance in the repl since we don't have to link statically.
2018-12-05 11:25:12 -05:00
joshvera
03e5546ec1 Add -O0 to tests to reduce compilation times 2018-12-05 10:25:21 -05:00
joshvera
49e8a7004c Remove Exports 2018-12-05 10:23:42 -05:00
joshvera
0f8058d82a Remove NamespaceError 2018-12-05 10:20:41 -05:00
joshvera
073dca372d Remove Data.Abstract.Environment 2018-12-05 10:20:35 -05:00
joshvera
9fee3d5965 formatting 2018-12-05 10:20:17 -05:00
joshvera
781e52f843 Format and remove Environment 2018-12-05 10:14:16 -05:00
joshvera
4979459533 Remove box and format 2018-12-05 10:06:00 -05:00
joshvera
26d3e5e449 Remove Environment 2018-12-05 09:42:00 -05:00
joshvera
505e9003a2 stylish 2018-12-05 09:41:24 -05:00
joshvera
c309aed43a Remove edgelabel-scratchpad 2018-12-05 09:19:46 -05:00
joshvera
4428cd0ab8 Implement ruby assignment as a separate syntax
So it can declare a variable in case it isn't shadowing one
2018-12-04 19:22:58 -05:00
joshvera
5b198eb919 Implement Break and Continue 2018-12-04 19:22:29 -05:00
joshvera
5deda2a033 Implement and reopen ruby modules 2018-12-04 18:46:29 -05:00
joshvera
538b2bc875 Reopen classes 2018-12-04 18:28:47 -05:00
joshvera
4f071f46ac Remove valueRef tests
It's be nice to deref these in evaluate
2018-12-04 18:15:24 -05:00
joshvera
30b086f5a1 Implement class instance 2018-12-04 18:15:04 -05:00
joshvera
2d7f741cde Call the function if lhsValue doesn't have a scoped environment
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 17:47:00 -05:00
joshvera
609a60f040 Lookup declaration by name in graphingTerms
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 17:22:18 -05:00
joshvera
9f6579edaf Fix call function test to test the value
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 17:14:50 -05:00
joshvera
535b6b56c8 Lookup __self in Send call if there's no sendReceiver
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 17:01:48 -05:00
joshvera
33b752a5aa Implement This eval instance
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 17:01:30 -05:00
joshvera
ac1d2dbc95 Declare __self in Method instance
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 17:01:19 -05:00
joshvera
793ec4b32d Define __self in preludes
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 17:00:20 -05:00
joshvera
85f00a2904 Add defineBuiltIn
in order to construct an associated scope to pass to BuiltIn

Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 16:24:44 -05:00
joshvera
fa3adf19e6 Assign params within a frame in Abstract/Type semantics
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-04 15:56:11 -05:00
joshvera
7774b73475 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-04 15:06:12 -05:00
Rob Rix
f75c2b14a1 Build function scopes in the Evaluatable instances. 2018-12-04 14:55:25 -05:00
Rob Rix
00c6bb2229 Note that we should be building the scope in define instead of in the Function carrier. 2018-12-04 14:34:40 -05:00
Rob Rix
bb2bcf6274 🔥 a redundant fresh. 2018-12-04 14:21:07 -05:00
Rob Rix
140fab4407 Simplify the Effect instance for Function. 2018-12-04 14:15:13 -05:00
Patrick Thomson
3502dadda6 fix build/lints 2018-12-04 13:24:15 -05:00
Rob Rix
dbf670d4ee Use deriving strategies for the Heap. 2018-12-04 13:12:25 -05:00
Rob Rix
9420d5cc96 🔥 a bunch of redundant bindings. 2018-12-04 13:12:18 -05:00
Rob Rix
c16385e20f 🔥 a bunch of redundant constraints. 2018-12-04 13:12:03 -05:00
Rob Rix
91fce6a246 🔥 a bunch of redundant imports. 2018-12-04 12:25:32 -05:00
joshvera
4322c8889c Implement Send without self 2018-12-04 12:04:06 -05:00