Multiple changes:
- Move to a Python process for the LanguageLink client [fixes #1, presumably] - Finish a first rough draft of the booklet [fixes #4]
This commit is contained in:
13
carp/src/bridge/carp.py
Normal file
13
carp/src/bridge/carp.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
class CarpProc:
|
||||
def __init__(self):
|
||||
self.proc = subprocess.Popen(['carp'])
|
||||
|
||||
def evaluate(self, statements):
|
||||
self.proc.stdin.send(statements)
|
||||
|
||||
|
||||
def start_carp_proc():
|
||||
return CarpProc()
|
Reference in New Issue
Block a user