Code Monkey home page Code Monkey logo

jonprl-mode's Introduction

JonPRL Mode for Emacs

This is a simple major mode for the JonPRL implementation of computational type theory.

Features:

  • Completion for keywords, tactics, and operators
  • Dynamic generation of yasnippets for each operator
  • IMenu
  • Simple syntax highlighting, generated from JonPRL’s notion of defined operators
  • Eldoc, for showing summaries of tactics or operators in the minibuffer
  • Run JonPRL in compilation mode (bound to C-c C-l)
  • View JonPRL’s elaborated development (bound to C-c C-c)

To install, arrange for jonprl-mode.el to be on your load-path and then require it.

You may need to customize jonprl-path if the jonprl binary isn’t already on your PATH.

Yasnippet integration

jonprl-mode gets a list of defined operators from JonPRL and uses them to dynamically populate the Yasnippet snippet list. To enable this feature, add yas-minor-mode to your jonprl-mode-hook.

If you use this, then you probably want to set yas-triggers-in-field to t to enable recursive expansion of operators. This gives an experience reminiscent of the Nuprl structure editor.

Dynamic highlighting of tactics

jonprl-mode reads the list of tactics to highlight from JonPRL itself. If you do something that changes the list of available tactics, restart jonprl-mode with M-x jonprl-mode to re-read them.

jonprl-mode's People

Contributors

david-christiansen avatar jonsterling avatar jozefg avatar syohex avatar

Watchers

 avatar 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.