GithubHelp home page GithubHelp logo

jeremy-w / atom-language-idris Goto Github PK

View Code? Open in Web Editor NEW

This project forked from idris-hackers/atom-language-idris

0.0 1.0 0.0 256 KB

A Idris Mode for Atom.io

License: MIT License

CoffeeScript 99.74% CSS 0.26%

atom-language-idris's Introduction

An Idris Mode for Atom

A work-in-progress Idris Mode for Atom.

It supports:

  • Typechecking (ctrl-alt-r)
  • Case-splitting (ctrl-alt-c)
  • Clause-adding (ctrl-alt-a)
  • Proof-search (ctrl-alt-s)
  • Showing the types of a variable (ctrl-alt-t)
  • Show the doc for a variable (ctrl-alt-d)
  • make-with (ctrl-alt-w)
  • make-case (ctrl-alt-m)
  • make-lemma (ctrl-alt-l)
  • Showing holes
  • ipkg highlighting

Usage

The package should work after installation. The only thing you might need to set is the path to the idris executable in the config of this package. If it doesn't work it's probably a bug.

There is a tutorial on how to use the editor under documentation/tutorial.md.

Working with ipkg files

Place your ipkg file in the top level directory of your project. There is more information available in a in a separate documentation.

Todo

  • Add better support for drawing attention to error-messages
  • Improve the syntax-highlighting (the current is based on the Sublime plugin)
  • Add autocompletion
  • Add a REPL
  • ...

Development

To work on this plugin you need to clone it into your atom directory and rename the folder to language-idris or the package settings won't get picked up. Then you need an apm install from the language-idris folder to install the dependencies.

Or you can execute apm dev language-idris. This will install the package in a separate directory and you need to start Atom in dev-mode to load the development packages.

atom-language-idris's People

Contributors

aochagavia avatar archaeron avatar brendanzab avatar david-christiansen avatar edwinb avatar fangel avatar nightra avatar ulidtko avatar

Watchers

 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.