<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Nicolai,<br>
    <br>
    my squeak bytecode interpreter is in "advanced" experimental stage
    ;)<br>
    <br>
    Its an AST interpreter using Oracle's Truffle Framework, which is
    part of the Graal project (<a class="moz-txt-link-freetext" href="http://openjdk.java.net/projects/graal/">http://openjdk.java.net/projects/graal/</a>).<br>
    <br>
    However, I am interested in your code. Maybe I'll find something
    useful, I can use for my project. So, thank you for you offer...<br>
    <br>
    - Helmut<br>
    <br>
    <div class="moz-cite-prefix">Am 15.05.2014 17:41, schrieb Nicolai
      Hess:<br>
    </div>
    <blockquote
cite="mid:CAPED3SQs2Mix4_rcAbf_tn5cs_aWTocT56EK8-E6t6yVzHPZgA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Helmut,<br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">2014-04-26 16:40 GMT+02:00 Helmut
            Rohregger <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:helmut.rohregger@gmail.com" target="_blank">helmut.rohregger@gmail.com</a>&gt;</span>:<br>
            <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">To clarify things: I am
              writing a squeak byte code interpreter in Java,<br>
              which is still in experimental stage. To test my
              interpreter, I have<br>
              written test cases in squeak, which get executed in my
              interpreter...<br>
            </blockquote>
            <div><br>
              <br>
            </div>
            <div>I once ported squeaks vm code from C to java. <br>
              (I did not develope my own interpreter most of the initial
              code was<br>
              copy and pasted and (manually) translated to valid
              javacode.<br>
            </div>
            <div>(And heavily restructured afterwards.))</div>
            <div><br>
            </div>
            <div>Maybe your are interested in that code, even though you
              <br>
              are developing your own and don't want to port the exising
              one.<br>
            </div>
            <div><br>
            </div>
            <div>The code is pretty old (6-8 years!), but it can load
              and execute a squeak 3.10 image<br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>regards<br>
              Nicolai<br>
            </div>
            <div><br>
            </div>
            <div><br>
              <br>
              <br>
              &nbsp;</div>
            <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <br>
              - Helmut<br>
              <br>
              Am <a moz-do-not-send="true" href="tel:24.04.2014%2011"
                value="+12404201411" target="_blank">24.04.2014 11</a>:54,
              schrieb Frank Shearar:<br>
              <div>
                <div>&gt; That confuses me, because people usually
                  implement their tests as<br>
                  &gt; instance methods of a TestCase subclass.<br>
                  &gt;<br>
                  &gt; I wouldn't be surprised if writing your test
                  cases as class-side<br>
                  &gt; methods didn't break something in tooling that
                  might well expect to<br>
                  &gt; see instance methods.<br>
                  &gt;<br>
                  &gt; frank<br>
                  &gt;<br>
                  &gt; On 23 April 2014 20:09, Helmut Rohregger &lt;<a
                    moz-do-not-send="true"
                    href="mailto:helmut.rohregger@gmail.com"
                    target="_blank">helmut.rohregger@gmail.com</a>&gt;
                  wrote:<br>
                  &gt;&gt; Hi Andreas,<br>
                  &gt;&gt;<br>
                  &gt;&gt; thanks for your response.<br>
                  &gt;&gt;<br>
                  &gt;&gt; This is just a test class, where every single
                  method is a test case. I<br>
                  &gt;&gt; implemented this class when I started to
                  learn Squeak and implemented<br>
                  &gt;&gt; this test cases by mistake at the instance
                  side of the test class...<br>
                  &gt;&gt;<br>
                  &gt;&gt; - Helmut<br>
                  &gt;&gt;<br>
                  &gt;&gt; Am 23.04.2014 18:51, schrieb Andreas
                  Wacknitz:<br>
                  &gt;&gt;&gt; Hi Helmut,<br>
                  &gt;&gt;&gt;<br>
                  &gt;&gt;&gt; Am 23.04.2014 um 08:18 schrieb Helmut
                  Rohregger &lt;<a moz-do-not-send="true"
                    href="mailto:helmut.rohregger@gmail.com"
                    target="_blank">helmut.rohregger@gmail.com</a>&gt;:<br>
                  &gt;&gt;&gt;<br>
                  &gt;&gt;&gt;&gt; Hi,<br>
                  &gt;&gt;&gt;&gt;<br>
                  &gt;&gt;&gt;&gt; because I didn't get response to my
                  question in the beginners list, I<br>
                  &gt;&gt;&gt;&gt; post it here.<br>
                  &gt;&gt;&gt;&gt;<br>
                  &gt;&gt;&gt;&gt; Is there an easy way to change
                  instance methods to class methods?<br>
                  &gt;&gt;&gt;&gt; I know it is possible to drag and
                  drop single methods. But I am looking<br>
                  &gt;&gt;&gt;&gt; for the possibility to move 100+
                  methods at once.<br>
                  &gt;&gt;&gt;&gt;<br>
                  &gt;&gt;&gt;&gt; - Helmut<br>
                  &gt;&gt;&gt;&gt;<br>
                  &gt;&gt;&gt;<br>
                  &gt;&gt;&gt; Are you really trying to move 100+
                  methods within a single class?<br>
                  &gt;&gt;&gt; If so that sounds utterly wrong. And
                  moving from the instance side to the class side is
                  even worse.<br>
                  &gt;&gt;&gt; This smells like putting a single class
                  around your old non-OO code.<br>
                  &gt;&gt;&gt; If you don&#8217;t have REALLY good reasons to
                  have such a number of methods in a class you should<br>
                  &gt;&gt;&gt; consider to refactor the class into
                  several classes.<br>
                  &gt;&gt;&gt; This wouldn&#8217;t prevent you from having the
                  problem to move methods around but would lessen the
                  pain.<br>
                  &gt;&gt;&gt;<br>
                  &gt;&gt;&gt; Regards,<br>
                  &gt;&gt;&gt; Andreas<br>
                  &gt;&gt;&gt;<br>
                  &gt;&gt;&gt;<br>
                  &gt;&gt;<br>
                  &gt;&gt;<br>
                  &gt;<br>
                  <br>
                  <br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>