branch: externals/beardbolt
commit 820211abd41c5246118bd002c170afdfe452ca12
Author: Jay Kamat <[email protected]>
Commit: Jay Kamat <[email protected]>
Update supported languages list
---
README.org | 2 +-
doc/rmsbolt.org | 3 ++-
doc/rmsbolt.texi | 13 +++++++++++--
rmsbolt.el | 2 +-
4 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/README.org b/README.org
index 9ffeae6c85..092ae296b0 100644
--- a/README.org
+++ b/README.org
@@ -18,7 +18,7 @@ please start at the docs (also available through info).]]
- Much more flexible and powerful:
- Supports disassembly to bytecode as well as assembly.
- Supports many languages that godbolt does not support, such as Python, PHP,
- Common Lisp, Emacs Lisp, Ocaml, Java, and Pony.
+ Common Lisp, Emacs Lisp, Ocaml, Java, Pony, and Zig.
- Allows targeting custom compilers - which means disassembly for niche
assembly targets, specific commits of compilers, and patched libraries or
compilers is possible.
diff --git a/doc/rmsbolt.org b/doc/rmsbolt.org
index e604d53814..d27a4be23a 100644
--- a/doc/rmsbolt.org
+++ b/doc/rmsbolt.org
@@ -172,7 +172,8 @@ supported at the moment, with ~sbcl~ giving much better
results.
** Zig
-Assembly is generated through the ~zig~ compiler.
+Assembly is generated through the ~zig~ compiler. Due to large binary sizes,
+disassembly is discouraged.
* Integrations
This section covers integrations that RMSbolt provides, which make it easier to
diff --git a/doc/rmsbolt.texi b/doc/rmsbolt.texi
index 878fce5e78..c552495350 100644
--- a/doc/rmsbolt.texi
+++ b/doc/rmsbolt.texi
@@ -56,6 +56,7 @@ Languages
* D::
* Emacs Lisp::
* Common Lisp::
+* Zig::
Integrations
@@ -204,6 +205,7 @@ This section covers languages-specific quirks and features.
* D::
* Emacs Lisp::
* Common Lisp::
+* Zig::
@end menu
@node C/C++
@@ -263,7 +265,8 @@ copied into it's own directory, making it much harder to
view non-toy examples.
@node D
@section D
-Assembly is provided through the @code{ldc} tool.
+Assembly is generated through the @code{ldc} tool, and demangling is provided
by
+@code{ddemangler}.
Please report bugs if matching does not work for you, as D's file format for
designating files is a little different.
@@ -281,6 +284,12 @@ Emacs 26 or the @code{cl-print} package are required.
No support for source->asm matching or filtering. Only @code{sbcl} and
@code{clisp}
supported at the moment, with @code{sbcl} giving much better results.
+@node Zig
+@section Zig
+
+Assembly is generated through the @code{zig} compiler. Due to large binary
sizes,
+disassembly is discouraged.
+
@node Integrations
@chapter Integrations
@@ -394,5 +403,5 @@ disassembly point of view.
You're done!
-@c Emacs 25.1.1 (Org mode 8.2.10)
+@c Emacs 25.2.2 (Org mode 8.2.10)
@bye
\ No newline at end of file
diff --git a/rmsbolt.el b/rmsbolt.el
index 42cf857959..5308969fbc 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -26,7 +26,7 @@
;; code input file.
;;
;; It currently supports: C/C++, OCaml, Haskell, Python, Java, PHP, D, Pony,
-;; Emacs Lisp, and (limited) Common Lisp.
+;; Zig, Emacs Lisp, and (limited) Common Lisp.
;;
;; Adding support for more languages, if they have an easy manual compilation
;; path from source->assembly/bytecode with debug information, should be much