Git Product home page Git Product logo

sublimehol's Introduction

HOL for Sublime Text (DEPRECATED)

Please note this plugin is deprecated. Please use SublimeHOL2 at https://github.com/JamesShaker/SublimeHOL2.

A HOL ITP (https://hol-theorem-prover.org/) development environment built on top of slimmed down, heavily modified versions of SublimeREPL (https://github.com/wuub/SublimeREPL), SublimeANSI (https://github.com/aziz/SublimeANSI), and SML-syntax (https://github.com/Takaia/SML-syntax) put together.

HOL Plugin Screenshot

Features

HOL Files

  • HOL Syntax Highlighting
  • Tab completion from \` to smart quote pair ‘’
    • Also from \`\` to “”
  • Unicode tab completion within HOL terms for common HOL ASCII sequences
    • Logical Symbols
      • ! to
      • ? to
      • ~ to ¬
      • ==> to
      • ...and many more!
    • The lower case greek alphabet
      • 'a to α
      • 'b to β
      • ... and so on...

HOL REPL

  • Unicode tab completion features in REPL entry also
  • Full colour REPL (Uses HOL's vt100_terminal backend)
  • Complete REPL history and scrollback
  • Send selection, lines, and entire files straight to REPL in Sublime
  • Automatically format selection/lines into:
    • Goals
    • Subgoals
      • Basic subgoals
      • Sufficient Condition
    • Tactics
    • Quiet mode
  • Changes Flags from menus or key bindings
    • Show Types
    • Show Assums
    • Print Goal at Top
    • Print Free Variables

Installation

  • You must have HOL installed and accessible through the command hol
  • Install the HOL package from PackageControl (https://packagecontrol.io/)
  • OR clone this repository into your Packages folder and rename it to HOL

Usage

  • HOL submenu under Tools in Sublime for all the operations and their keybindings
  • A right click context menu exists to kill/restart the REPL and send signals including SIGINT
  • For more details and more control please see the key bindings and preference files available under the preferences menu
  • Note: The terminal is speedy enough for interactive use but large imports should be done in quiet mode as they can take some time to colourise!

License

Parts of this project are under GPLv2 and parts under MIT, please see LICENSE.txt

sublimehol's People

Contributors

wuub avatar jamesshaker avatar whitequark avatar mason-stewart avatar emestee avatar rickasaurus avatar mvoidex avatar mbauman avatar wingedbeast avatar ivanca avatar tcdowney avatar nomnel avatar laughedelic avatar ztepsic avatar paradigmsort avatar fson avatar stared avatar mlalic avatar lionandoil avatar edubkendo avatar fukamachi avatar ppvg avatar rverbitsky avatar russplaysguitar avatar svieira avatar tomschenkjr avatar toph-allen avatar yrashk avatar fbehrens avatar gclapperton 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.