[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt 60d189b0a6 310/323: Advertise beardbolt-execu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt 60d189b0a6 310/323: Advertise beardbolt-execute and a few other things |
Date: |
Thu, 9 Mar 2023 10:58:59 -0500 (EST) |
branch: externals/beardbolt
commit 60d189b0a60adef03487e78b904edf708cf34de1
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Advertise beardbolt-execute and a few other things
* README.md: Update.
---
README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 44 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 63b29253ee..b9d67a7e0b 100644
--- a/README.md
+++ b/README.md
@@ -23,9 +23,9 @@ and vice versa.
### Why Beardbolt over RMSbolt
- Doesn't require file to be saved.
-- 2-5x faster on typical files. See [here for benchmarks](#benchmarks).
+- 3-5x faster on typical files. See [here for benchmarks](#benchmarks).
- 🌈Has pretty rainbows🌈
-- Has the useful "preserve library functions" feature of Godbolt.
+- Has more useful Godbolt features like "execute program" and "preserve/filter
library functions" .
- Simpler code (less than half the LOC, but also less funcional in some
regards if we're honest).
### Installation
@@ -44,6 +44,48 @@ make
M-x beardbolt-starter
```
+### Main commands
+
+* `beardbolt-starter`: Lets you start a new experiment in one of the
+ supported languages. Automatically start `beardbolt-mode`.
+
+* `beardbolt-mode`: Starts a minor mode that automatically re-compiles
+ buffer code every few changes to the source code.
+
+* `beardbolt-compile`: Manually start a compilation. Bound to `C-c
+ C-c` in `beardbolt-mode`.
+
+### Options as local variables
+
+Beardbolt's behaviour can be tweaked with the follow options. You may
+set them globally (they're Emacs customization variables), but it's
+probably more useful to write them as file-local variable cookies
+instead. Beardbolt will pick them up immediately on each run.
+
+* `beardbolt-command`: Main compiler command to run. May be something like
+ `"gcc -O3"`. Leave unset to have Beardbolt try to guess from some
+ nearby `compilation_commands.json`.
+
+* `beardbolt-disassemble`: Compile, assemble, then disassemble using
+ `objdump` and present that input instead of assembly code.
+
+* `beardbolt-asm-format`: Choose between `intel` and `att` formats.
+
+* `beardbolt-preserve-directives`: Keep every non-code, non-label asm
+ directive.
+
+* `beardbolt-preserve-unused-labels`: Keep unused asm labels.
+
+* `beardbolt-preserve-library-functions`: Keep functions with no code
+ related to current file.
+
+* `beardbolt-demangle`: Demangle any mangled symbols of resulting
+ assembly with `c++filt`.
+
+* `beardbolt-execute`: If non-nil, run the resulting program in the
+ compilation buffer. If a string, run with these arguments. If t
+ runs without arguments.
+
<a name="benchmarks"></a>
### Benchmarks vs RMSbolt
- [elpa] externals/beardbolt 78eed53af1 260/323: Don't hang a "[Compiling]" forever in the mode-line, (continued)
- [elpa] externals/beardbolt 78eed53af1 260/323: Don't hang a "[Compiling]" forever in the mode-line, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt b71d1bd763 265/323: * beardbolt.el (bb-compile): Fix handling of bb-asm-format., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 4cbe58f834 279/323: Add -g1 instead of -g to speed it up massively, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 2542f24813 285/323: Tweak, rework, speed up main algorithm again, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 85bc714336 295/323: Simplify source file tracking, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c5086ea624 294/323: bb--output-mode now a major mode, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 298a5fe6a2 296/323: Fix starter/beardbolt.cpp, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 067096f3b9 299/323: Friendlier beardbolt--output-mode, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 0ae21a302a 302/323: Simplify window management in preparation of beardbolt-execute-program, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 842b2159da 305/323: More simplification, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 60d189b0a6 310/323: Advertise beardbolt-execute and a few other things,
ELPA Syncer <=
- [elpa] externals/beardbolt c374b17f5c 314/323: Don't require file to be saved, but do take advantage if it is, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 4a050afaaa 315/323: Attempt to fix more window management bugs, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 0d61c2edac 311/323: Add support for rustc, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt be3cf0a712 318/323: Fix problems with beardbolt-compile when file is saved, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 349ace7310 164/323: Merge branch 'master' of gitlab.com:jgkamat/rmsbolt, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 5aeda6f846 155/323: Add basic documentation for compile_commands.json, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 246377bbff 173/323: Add dummy panic handler to reduce size of zig diassembly, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 73dcaca98d 177/323: Remove unneeded variables, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 28ccabf318 190/323: Clean up overlays and simplify hook when asm buffer is closed, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3a8964d537 204/323: Update Readme, ELPA Syncer, 2023/03/09