Commit Graph

19 Commits

Author SHA1 Message Date
Alan Zimmerman
aae11c184c Rename REPL to Console 2015-11-06 11:05:41 +02:00
Alan Zimmerman
649e65458a Bring in haskeLine for REPL, start on HaRe plugin 2015-11-05 23:02:21 +02:00
Alan Zimmerman
f02b11825f WIP. adding more commands to base, starting on HaRe 2015-11-05 15:42:49 +02:00
Alan Zimmerman
6702ed0ff2 First pass at servant-based HTTP API 2015-11-04 18:00:59 +02:00
Alan Zimmerman
bd27c8b82c Add pwd/cwd to basePlugin 2015-11-04 16:04:04 +02:00
Alan Zimmerman
2cc060197f Reworking dispatcher and types, including IdeM
Which now has state in it
2015-11-04 13:51:32 +02:00
Alan Zimmerman
e5996accfa BasePlugin and REPL coming on.
Example REPL session

$ ./.stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/hie/hie --repl -l foo.log -d
HIE version : Version 0.1.0.0, Git revision 6fc77eb0a5 (dirty) (49 commits) x86_64
HIE>
empty command
HIE> base:plugins
IdeResponseOk (String "[\"base\",\"eg2\"]")
HIE> base:commands plugin:base
IdeResponseOk (String "version,plugins,commands")
HIE>
empty command
HIE> base:command plugin:eg2
unrecognised command:base:command
HIE> base:commands plugin:eg2
IdeResponseOk (String "sayHello,sayHelloTo")
2015-11-03 23:15:31 +02:00
Alan Zimmerman
6fc77eb0a5 Rework IdeRequest, split out REPL 2015-11-03 21:46:15 +02:00
Alan Zimmerman
caba52653f Starting to build command lookup into the REPL 2015-11-03 16:07:26 +02:00
Alan Zimmerman
e30c60e043 Bring in logging, configurable to file or stdout 2015-11-03 14:43:10 +02:00
Alan Zimmerman
117370b3e4 Bring in Haskell.Ide.Engine namespace
Closes #9
2015-11-03 08:40:33 +02:00
Alan Zimmerman
93e7f7eeee Basic framework for JSON streaming 2015-11-02 16:27:57 +02:00
Alan Zimmerman
812a7001bc Bring in Aeson.Value for IdeResponse payload 2015-11-02 10:05:22 +02:00
Alan Zimmerman
b48baf2cce WIP. Starting on base plugin functionality 2015-11-02 09:32:04 +02:00
Alan Zimmerman
8a2388a380 Change REPL prompt from IE to HIE 2015-11-01 20:54:35 +02:00
Alan Zimmerman
4ca7736698 POC for plugin/channel/dispatcher architecture
Access the demo repl by

    stack build
    stack exec haskell-ide-engine2

Understood commands are "hello" and "version", which go to two different
plugins.
2015-11-01 20:28:17 +02:00
Alan Zimmerman
297117c12a Rearranging into sub-projects for PluginDescriptor 2015-10-31 14:31:37 +02:00
Michael Sloan
b1435f500c Initial demo of plugin loading 2015-10-23 20:20:35 -07:00
Alan Zimmerman
a534b13d68 Breaking ground. Initial source template 2015-10-23 11:50:15 +02:00