Code Monkey home page Code Monkey logo

idris-sublime's Introduction

Sublime Text plugin for Idris language

  • Syntax definition is developed based on the SublimeHaskell plugin using the AAAPackageDev plugin for converting YAML to tmLanguage.
  • WIP Interactive editing functionality:
    • You have to start idris REPL server manually.
    • It calls idris --client with commands like :addclause!, just writing to your file (it doesn't use --ideslave).
    • There are some problems with this in idris itself: idris-vim#11 for example.
    • The following commands are added to the Command Palette:
      • Idris: Run REPL command... (any command for the REPL)
      • Idris: Run editing command... (this will be apended by the line number and the symbol name)
      • Idris: Add clause (:addclause! for current symbol)
      • Idris: Case split (:casesplit! for current symbol)
      • Idris: Add missing clause (:addmissing! for current symbol)
      • Idris: Proof search (:proofsearch! for current symbol)
      • Idris: Make with pattern (:makewith! for current symbol)

TODO list

Things that would be nice to have:

  • Optional keybindings
  • Launch REPL server automatically
  • Syntax definition for the literate source format
  • Possibly some integration with SublimeREPL (idris support is almost there) + LoadFileTpRepl (idris is already there)
  • Proper interaction with the idris --ideslave mode

idris-sublime's People

Contributors

laughedelic avatar leifw avatar jfdm avatar melted avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.