emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/beardbolt 9fb117d6c9 159/323: Add docs for D language


From: ELPA Syncer
Subject: [elpa] externals/beardbolt 9fb117d6c9 159/323: Add docs for D language
Date: Thu, 9 Mar 2023 10:58:27 -0500 (EST)

branch: externals/beardbolt
commit 9fb117d6c9da1fd0619a297a7b92b9b2878a7f97
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>

    Add docs for D language
---
 README.org         |  2 ++
 doc/rmsbolt.org    |  9 +++++++--
 doc/rmsbolt.texi   | 17 ++++++++++-------
 starters/rmsbolt.d |  3 +--
 4 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/README.org b/README.org
index 57a0222f85..55af0a77c5 100644
--- a/README.org
+++ b/README.org
@@ -105,6 +105,8 @@ The main knobs are described in the full documentation.
 [[https://i.imgur.com/xBfzaK9.gif][https://i.imgur.com/xBfzaK9.gif]]
 ** Pony
 [[https://i.imgur.com/8kd6kkJ.gif][https://i.imgur.com/8kd6kkJ.gif]]
+** D
+[[https://i.imgur.com/BkMse7R.gif][https://i.imgur.com/BkMse7R.gif]]
 ** Emacs Lisp
 [[https://i.imgur.com/uYrQ7En.gif][https://i.imgur.com/uYrQ7En.gif]]
 ** Common Lisp
diff --git a/doc/rmsbolt.org b/doc/rmsbolt.org
index b7c54cd58c..1b028b22af 100644
--- a/doc/rmsbolt.org
+++ b/doc/rmsbolt.org
@@ -127,7 +127,6 @@ Demangling is done with ~rustfilt~ if it is on the path.
 Demangling is done with the compiler-explorer demangler, named
 to ~haskell-demangler~ and placed on the path.
 
-
 ** Python
 
 Support for viewing bytecode only. Python 
[[https://bugs.python.org/issue2506][doesn't have many options]], so most
@@ -138,7 +137,6 @@ otherwise only top level code will be shown. Python 2 is 
completely unsupported.
 
 Parses the output of ~javap~ to get debug information and disassembly.
 
-
 ** PHP
 Requires the [[https://github.com/derickr/vld][vld php extension]] to display 
PHP opcodes. Without that, you will
 not get any output.
@@ -153,6 +151,13 @@ machine-generated functions. This means the output will be 
slower to generate,
 similar to disassembly in other languages. The pony file being viewed will be
 copied into it's own directory, making it much harder to view non-toy examples.
 
+** D
+
+Assembly is provided through the ~ldc~ tool.
+
+Please report bugs if matching does not work for you, as D's file format for
+designating files is a little different.
+
 ** Emacs Lisp
 
 No support for source->asm matching, filtering, or automatic recompile.
diff --git a/doc/rmsbolt.texi b/doc/rmsbolt.texi
index 291c66c7a1..878fce5e78 100644
--- a/doc/rmsbolt.texi
+++ b/doc/rmsbolt.texi
@@ -53,9 +53,9 @@ Languages
 * Java::
 * PHP::
 * Pony::
+* D::
 * Emacs Lisp::
 * Common Lisp::
-* D::
 
 Integrations
 
@@ -201,9 +201,9 @@ This section covers languages-specific quirks and features.
 * Java::
 * PHP::
 * Pony::
+* D::
 * Emacs Lisp::
 * Common Lisp::
-* D::
 @end menu
 
 @node C/C++
@@ -260,6 +260,14 @@ machine-generated functions. This means the output will be 
slower to generate,
 similar to disassembly in other languages. The pony file being viewed will be
 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.
+
+Please report bugs if matching does not work for you, as D's file format for
+designating files is a little different.
+
 @node Emacs Lisp
 @section Emacs Lisp
 
@@ -273,11 +281,6 @@ 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 D
-@section D
-
-Assembly listing is supported through @code{ldc}
-
 @node Integrations
 @chapter Integrations
 
diff --git a/starters/rmsbolt.d b/starters/rmsbolt.d
index 637f63bda1..41e61ef639 100644
--- a/starters/rmsbolt.d
+++ b/starters/rmsbolt.d
@@ -1,5 +1,5 @@
 // Local Variables:
-// rmsbolt-command: "ldc2"
+// rmsbolt-command: "ldc2 -O0"
 // End:
 
 import std.stdio : writeln;
@@ -24,4 +24,3 @@ int main() {
     }
     return 0;
 }
-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]