Skip to content

Commit a99fc63

Browse files
authored
Add files via upload
1 parent 8fc14ce commit a99fc63

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,17 @@ I want to be honest. This is not exactly the best code ever written. It is far f
3939

4040

4141

42+
## Release and Version
4243

44+
Currently in preparation of the initial 0.0.0 release , probably between 5-10/11 :)
4345

4446

4547

4648

4749
## Limitations
4850

51+
There are of course certain limitations:
52+
4953
* Currently I do not fully support python > 3.3 (Still, you can work on code that contains some new features such as async and await keywords, f-strings). That's because Sublime uses python 3.3.6 and I rely on the standard library´s ast module to parse the code. An alternative could have been astroid but it itself uses typed_ast, which contains C code, something which I wanted to avoid. The plugin will most likely eventually change to a client server architecture and simply use an up to date ast module from python 3.7 or the new 3.8.
5054

5155
[](gif/l1.gif)
@@ -93,7 +97,25 @@ Ok this can get a little bit complicated because there is a variety of operatin
9397
To understand why all this may become an issue, we need to take a look at how communication between dragonfly and the plugin works.
9498

9599

96-
Probably by far the most convenient way is via sublime comand line interface. This is the default method used. The script invokes the subl cli tool with
100+
Probably by far the most convenient way is via sublime comand line interface. This is the default method used. The script invokes the subl cli tool with a command like that:
101+
102+
``` bash
103+
subl --command python_voice_coding_plugin
104+
{ "arg" :
105+
106+
{
107+
108+
"command":"argument",
109+
"format":1,
110+
"adjective":"first",
111+
"index":2,
112+
113+
}
114+
115+
116+
}
117+
```
118+
So effectively we trigger the command our plugin provides in its top file and pass information about the type of query we want and the parameters we used as a dict encoded as a json string.
97119

98120
Of course this does not work across virtual machine barriers:)
99121

0 commit comments

Comments
 (0)