forked from JamesShaker/SublimeHOL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reshuffled commands, adjusted menus, and added a README
- Loading branch information
1 parent
aaed819
commit c8f9f8e
Showing
11 changed files
with
194 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
[ | ||
{ | ||
"caption": "HOL: Run REPL", | ||
"command": "run_existing_window_command", "args": | ||
{ | ||
"id": "repl_hol", | ||
"file": "Main.sublime-menu" | ||
} | ||
}, | ||
{ | ||
"caption": "HOL: Restart REPL", | ||
"command": "hol_repl_restart" | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,59 @@ | ||
HOL - A HOL 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) hackily put together. | ||
HOL for Sublime Text | ||
===================================== | ||
|
||
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](example_screenshot.png) | ||
|
||
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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters