 Logger = require './Logger'
 Rx = require 'rx-lite'
 JS = require './utils/js'
+path = require 'path'
 
 class IdrisModel
   requestId: 0

    @ideMode(@compilerOptions).send [cmd, id]
    subject

  load: (uri) ->
    @prepareCommand [':load-file', uri]

  docsFor: (word) ->
    @prepareCommand [':docs-for', word]


  makeLemma: (line, word) ->
    @prepareCommand [':make-lemma', line, word]

  interpret: (code) ->
    @prepareCommand [':interpret', code]

  makeCase: (line, word) ->
    @prepareCommand [':make-case', line, word]
