1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 20:31:55 +03:00
Commit Graph

24792 Commits

Author SHA1 Message Date
Rob Rix
08f01f86c8 Note that we may want to abandon computations. 2018-08-02 17:05:51 -04:00
Rob Rix
3800d87985 Draw tildes under the full caret width. 2018-08-02 17:01:46 -04:00
Rob Rix
c2367a04a3 Reformat contextLines. 2018-08-02 16:58:22 -04:00
Rob Rix
c5fc691abe Perform fewer conversions back and forth from Source. 2018-08-02 16:57:00 -04:00
Rob Rix
c219af9925 Split context lines out into a new binding. 2018-08-02 16:51:19 -04:00
Rob Rix
b83a38ecaa Factor out the caret padding. 2018-08-02 16:46:05 -04:00
Rob Rix
66023c80de Use RecordWildCards to clean up the span. 2018-08-02 16:44:36 -04:00
Rob Rix
bd202de9dd Don’t colourize the newline. 2018-08-02 16:41:40 -04:00
Rob Rix
24237e8166 Be less chatty. 2018-08-02 16:39:46 -04:00
Rob Rix
d8cf347822 🔥 the dependency on trifecta. 2018-08-02 16:33:19 -04:00
Rob Rix
5c7d5c5c5f Simplify command parsing even further. 2018-08-02 16:33:14 -04:00
Rob Rix
42ead6357d Simplify command parsing. 2018-08-02 16:32:15 -04:00
Rob Rix
06d07230e0 Handle errors in parseCommand. 2018-08-02 16:30:37 -04:00
Rob Rix
a55d1ef822 Specialize parseString to Command. 2018-08-02 16:29:56 -04:00
Rob Rix
84024a2001 Reformat command. 2018-08-02 16:28:40 -04:00
Rob Rix
9220177d5a Run commands at every step. 2018-08-02 16:26:49 -04:00
Rob Rix
45f0f6d48c Add helpers to parse sa string and produce a result. 2018-08-02 16:15:38 -04:00
Rob Rix
f9c2cde7ba Stub in a command parser. 2018-08-02 16:13:17 -04:00
Rob Rix
b57c2df5a5 Stub in a datatype of commands. 2018-08-02 16:10:12 -04:00
Rob Rix
168345dc6f Define some instances for Parser. 2018-08-02 16:07:48 -04:00
Rob Rix
ed8c196411 Stub in a Parser newtype. 2018-08-02 16:05:00 -04:00
Rob Rix
9cdcd3c972 Depend on trifecta. 2018-08-02 14:45:55 -04:00
Rob Rix
9e8a82532a Show the current program code listing when we stop. 2018-08-02 14:41:09 -04:00
Rob Rix
eeee3105de Associate blobs with modules. 2018-08-02 13:58:57 -04:00
Rob Rix
6e86024bef 🔥 more redundant record wildcarding. 2018-08-02 13:54:14 -04:00
Rob Rix
f29b310bee 🔥 redundant type signatures. 2018-08-02 13:53:53 -04:00
Rob Rix
b8216c9557 Define parseModule locally to parsePackage. 2018-08-02 13:53:36 -04:00
Rob Rix
f0beb4116e 🔥 redundant record wildcarding. 2018-08-02 13:53:17 -04:00
Rob Rix
9ef0fc510d Export showExcerpt. 2018-08-02 11:33:33 -04:00
Rob Rix
a653a2efde Reflect the language from the proxy. 2018-08-02 10:49:01 -04:00
Rob Rix
635e971f87 Merge branch 'singleton-languages' into interactive-debugger 2018-08-02 10:47:51 -04:00
Rob Rix
73fa3f2afc Revert "Reify languages at the type level."
This reverts commit 5968ddfbfe63f6ed3710d69622ac7ec172ae42eb.
2018-08-02 10:39:28 -04:00
Rob Rix
ea520299de Reify languages at the type level. 2018-08-02 10:33:55 -04:00
Rob Rix
ea69b5a6d3 Only pass a proxy to evaluateProject. 2018-08-02 10:24:55 -04:00
Rob Rix
28b942d9ff Only pass a proxy to evaluateProjectWithCaching. 2018-08-02 10:22:44 -04:00
Rob Rix
58f560e4a2 Only pass a proxy to callGraphRubyProject. 2018-08-02 10:21:28 -04:00
Rob Rix
ae0dc77ead Export SLanguage. 2018-08-02 10:19:22 -04:00
Rob Rix
c7fbff8fcd Define SLanguage instances for all the languages. 2018-08-02 10:18:55 -04:00
Rob Rix
7492e3feff Define a class for language singletons. 2018-08-02 10:16:50 -04:00
Rob Rix
8d40edec04 Move the REPL effect deeper into the stack. 2018-08-02 10:10:01 -04:00
Rob Rix
00da706837 🔥 a bunch of parens. 2018-08-02 10:06:00 -04:00
Rob Rix
f6be64d77d Inline evaluatingREPL. 2018-08-02 10:03:58 -04:00
Rob Rix
1d9de20be1 Move runREPL into evaluatingREPL. 2018-08-02 10:01:50 -04:00
Rob Rix
130a25d0d3 Run Trace effects in the task effect. 2018-08-02 09:59:28 -04:00
Rob Rix
a1df475bcf Generalize REPLEff to other effectful contexts chained afterwards. 2018-08-02 09:48:45 -04:00
Rob Rix
f5e47f6601 Export rubyREPL. 2018-08-02 09:42:58 -04:00
Rob Rix
4df6983283 Add some notes about basic interactions we want to support.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-08-01 12:07:03 -04:00
Rob Rix
0ae579d7c5 Prompt before evaluating each term.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-08-01 12:05:25 -04:00
Rob Rix
7f60152896 Add boilerplate for running effectful actions.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-08-01 12:04:52 -04:00
Rob Rix
8da81469bc Define PureEffect & Effect instances for REPL.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-08-01 12:03:28 -04:00