[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt 58c77d90c3 008/323: Add outshine comments
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt 58c77d90c3 008/323: Add outshine comments |
Date: |
Thu, 9 Mar 2023 10:57:50 -0500 (EST) |
branch: externals/beardbolt
commit 58c77d90c32501767c80d53c2818ff8de2448ad0
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>
Add outshine comments
---
README.org | 1 +
rmsbolt.el | 15 +++++++--------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/README.org b/README.org
index aa72b10163..8e26aae4a7 100644
--- a/README.org
+++ b/README.org
@@ -10,5 +10,6 @@ A basic implementation of the
[[https://github.com/mattgodbolt/compiler-explorer
- Better turnaround time from writing code to seeing disassembly
- Infinitely hackable!
- Write, compile, and view dissasembly entirely in Emacs
+ - Use compile.el to traverse errors like you would normally
- Runs entirely without node, npm, or js.
- No dependencies other than emacs 25 and your compiler ~:)~
diff --git a/rmsbolt.el b/rmsbolt.el
index 839888abcc..088c1345bb 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -138,6 +138,7 @@
(setq pos (match-end 0)))
matches)))
+;;;;; Filter Functions
(defun rmsbolt--has-opcode-p (line)
"Check if LINE has opcodes."
(save-match-data
@@ -186,7 +187,6 @@
(dolist (l (rmsbolt-re-seq rmsbolt-label-find line))
(cl-pushnew l (gethash current-label weak-usages) :test
#'equal))))))
-
(let* ((max-label-iter 10)
(label-iter 0)
(completed nil))
@@ -246,6 +246,7 @@
(nreverse result)
"\n")))
+;;;;; Handlers
(defun rmsbolt--handle-finish-compile (buffer _str)
"Finish hook for compilations."
(let ((compilation-fail
@@ -270,6 +271,7 @@
;; Display compilation output
(display-buffer buffer))))))
+;;;;; Parsing Options
(defun rmsbolt--get-cmd ()
"Gets the rms command from the buffer, if available."
(save-excursion
@@ -285,6 +287,7 @@
(setf (rmsbolt-ro-compile-cmd options) cmd))
options))
+;;;;; UI Functions
(defun rmsbolt-compile ()
"Compile the current rmsbolt buffer."
(interactive)
@@ -303,15 +306,11 @@
(rmsbolt-with-display-buffer-no-window
(with-current-buffer (compilation-start cmd)
(add-hook 'compilation-finish-functions
- #'rmsbolt--handle-finish-compile nil t))))
-
- ;; TODO
- )
+ #'rmsbolt--handle-finish-compile nil t)))))
-;;;; Alda Keymap
-(defvar rmsbolt-mode-map nil "Keymap for `alda-mode'.")
+;;;; Keymap
+(defvar rmsbolt-mode-map nil "Keymap for `rmsbolt-mode'.")
(when (not rmsbolt-mode-map) ; if it is not already defined
-
;; assign command to keys
(setq rmsbolt-mode-map (make-sparse-keymap))
(define-key rmsbolt-mode-map (kbd "C-c C-c") #'rmsbolt-compile))
- [elpa] externals/beardbolt f04df12d28 011/323: Add config facility for object dumping, (continued)
- [elpa] externals/beardbolt f04df12d28 011/323: Add config facility for object dumping, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 74b773d370 026/323: Fix crash on quit for real, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt a9e5fbfd7a 028/323: Implement line number parsing for disassembled files, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3b6bb5bd75 030/323: Add basic overlays to view matched lines, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 5ab75b7f56 014/323: Add stubs for dissasembly, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 0a55783f33 029/323: Add skeleton for font-lock, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 8dcd74b511 031/323: Clean up rmsbolt.c by moving starters into helper files, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt aea0966e9d 035/323: Don't add binary asm line data when viewing different files, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c066da01c4 052/323: Fix ocaml def, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 83e29706f5 005/323: Work on porting used label finder, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 58c77d90c3 008/323: Add outshine comments,
ELPA Syncer <=
- [elpa] externals/beardbolt 1545531849 006/323: Add initial implementation of filter, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt d604adae64 015/323: Add initial functions for processing binary asm, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt e0bc9fc409 013/323: Fix starters, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 93f3cad769 017/323: Use local variables instead of custom parsing, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ce6511f715 024/323: Fix compiler warnings, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 55c26882cd 025/323: Fix crash on quit, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 6239f41d9d 033/323: Add a goto-match feature for easily traversing matches, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt e6081fae6b 032/323: Add unrefined support for ocaml, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt a638324882 039/323: Add OCaml demo, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt e0d917206e 038/323: Improve quality of default matching faces, ELPA Syncer, 2023/03/09