• <tfoot id='J8gxN'></tfoot>
    • <bdo id='J8gxN'></bdo><ul id='J8gxN'></ul>

      1. <legend id='J8gxN'><style id='J8gxN'><dir id='J8gxN'><q id='J8gxN'></q></dir></style></legend>
      2. <i id='J8gxN'><tr id='J8gxN'><dt id='J8gxN'><q id='J8gxN'><span id='J8gxN'><b id='J8gxN'><form id='J8gxN'><ins id='J8gxN'></ins><ul id='J8gxN'></ul><sub id='J8gxN'></sub></form><legend id='J8gxN'></legend><bdo id='J8gxN'><pre id='J8gxN'><center id='J8gxN'></center></pre></bdo></b><th id='J8gxN'></th></span></q></dt></tr></i><div id='J8gxN'><tfoot id='J8gxN'></tfoot><dl id='J8gxN'><fieldset id='J8gxN'></fieldset></dl></div>
      3. <small id='J8gxN'></small><noframes id='J8gxN'>

        编译成java字节码(不使用Java)

        时间:2023-10-15
        1. <tfoot id='mUW9N'></tfoot>

              <small id='mUW9N'></small><noframes id='mUW9N'>

              <i id='mUW9N'><tr id='mUW9N'><dt id='mUW9N'><q id='mUW9N'><span id='mUW9N'><b id='mUW9N'><form id='mUW9N'><ins id='mUW9N'></ins><ul id='mUW9N'></ul><sub id='mUW9N'></sub></form><legend id='mUW9N'></legend><bdo id='mUW9N'><pre id='mUW9N'><center id='mUW9N'></center></pre></bdo></b><th id='mUW9N'></th></span></q></dt></tr></i><div id='mUW9N'><tfoot id='mUW9N'></tfoot><dl id='mUW9N'><fieldset id='mUW9N'></fieldset></dl></div>
                  <bdo id='mUW9N'></bdo><ul id='mUW9N'></ul>
                    <tbody id='mUW9N'></tbody>

                • <legend id='mUW9N'><style id='mUW9N'><dir id='mUW9N'><q id='mUW9N'></q></dir></style></legend>

                • 本文介绍了编译成java字节码(不使用Java)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的编译器类正在创建一种我们打算编译为 Java 字节码的语言.我们已经取得了很大进展,并且已经接近生成代码的时间了.

                  My compilers class is creating a language that we intend to compile to Java Bytecode. We have made plenty of progress and are nearing the time where it's time for code generation.

                  我们在查找有关如何从我们的编译器创建 .class 文件的信息时遇到问题.你有什么资源可以给我们一些帮助吗?我们已经有很多关于指令集的文档,但是需要关于如何直接填写类文件/十六进制编写的信息.

                  We are having problems locating information on how to create .class files from our compiler. Do you have any resources that can give us some assistance? We already have plenty of documentation on the instruction set, but need information on how to directly fill out the class file/the writing of hex.

                  我们不需要反编译 .class 文件的信息或建议.

                  We do not need information or suggestions on decompiling the .class files.

                  即使是从头开始写出 .class 文件的简单示例也非常棒.

                  Even a simple example of writing out a .class file from scratch would be excellent.

                  JVM 规范不是我们所追求的.我们真正需要的是示例或演练.

                  The JVM spec is not what we're after. What we really need is an example or a walkthrough.

                  推荐答案

                  VM 规范:类文件格式 和 Java 虚拟机指令集 应该这样做.

                  The VM Spec: The Class File Format and the The Java Virtual Machine Instruction Set should do it.

                  您可以查看字节码工程库 (BCEL) 以获得一些灵感以及 Findbugs(它必须阅读/理解类文件).

                  You might look at the Byte Code Engineering Library (BCEL) for some inspiration as well as Findbugs (it has to read/understand class files).

                  这篇关于编译成java字节码(不使用Java)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在编译时驱动 C#、C++ 或 Java 编译器计算 1+2+3+...+1000? 下一篇:为 JVM 编译 C++

                  相关文章

                • <legend id='69wPX'><style id='69wPX'><dir id='69wPX'><q id='69wPX'></q></dir></style></legend>

                  <i id='69wPX'><tr id='69wPX'><dt id='69wPX'><q id='69wPX'><span id='69wPX'><b id='69wPX'><form id='69wPX'><ins id='69wPX'></ins><ul id='69wPX'></ul><sub id='69wPX'></sub></form><legend id='69wPX'></legend><bdo id='69wPX'><pre id='69wPX'><center id='69wPX'></center></pre></bdo></b><th id='69wPX'></th></span></q></dt></tr></i><div id='69wPX'><tfoot id='69wPX'></tfoot><dl id='69wPX'><fieldset id='69wPX'></fieldset></dl></div>

                      • <bdo id='69wPX'></bdo><ul id='69wPX'></ul>
                    1. <small id='69wPX'></small><noframes id='69wPX'>

                      <tfoot id='69wPX'></tfoot>