Thanks for the code snippet - Redline has code to search class path and load the Smalltalk even if it is in a jar - I'm just not calling it yet No worries. I just figured it was the path of least effort so you could focus on what you were really working on :-) On Tuesday, 26 September 2017 21:49:18 UTC+9:30, jamesl wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Please try Redline from the command line ;) Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Done. Works no problem. I'm assuming meant just 'java -jar ...' not using the 'stic' sh script?
-- Missing the argument, it finds the NoArguments script in the jar fine, with an argument it found it no probs (once I types it correctly anyway). On Wednesday, 27 September 2017 13:22:34 UTC+9:30, jamesl wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
That's correct I should update the Stic scrip ;) Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Matt Selway
Glad it worked for you - wondering what is most helpful to implement next. So many choices right now. Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
What are the choices?
-- Isn't it just ByteCode generation, ByteCode generation, ByteCode generation? On Wednesday, 27 September 2017 14:13:37 UTC+9:30, jamesl wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Yes. But I could focus on the special JVM receiver so Smalltalk methods can be implemented without Java class backing. I'm sure to settle on anything that gets message sending going Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
If you focus on the JVM receiver, can't you just use that to bootstrap the entire system ;-)
-- On Wednesday, 27 September 2017 15:56:08 UTC+9:30, jamesl wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Certainly could. However I have long wrestled w the fact that while the JVM receiver can be used to write the implementation of base methods it also makes for hard reading and a rather foreign feel. I'm wrestling w this Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by James Ladd
I saw James' presentation on Redline in Edinburgh at ESUG'11 and was very excited! I remain very supportive, contributed a bit to the Indiegogo drive, and am very pleased to see James re-engaged in the project. I haven't had an opportunity to use it but would like it to be there when I next need to deploy on JVM.
-- So I'm a little hesitant to suggest an alternative path to getting Smalltalk code running on JVM. As one of the principals of PharoJS.org I have been wondering if a similar path might work for the JVM. For those who may not know, PharoJS - like Amber - is about programming in Smalltalk and deploying on the browser - hence it transpiles to Javascript. The key idea is that rather than replicate the Smalltalk IDE to run on the browser (as Amber does) we want to do all our development in the rich Pharo IDE and only deploy on the browser. I have been thinking for a while that it might be interesting to look at a PharoJVM that took your working Pharo code and emitted a .class file ready to deploy on the JVM. In reading this thread, I'm realizing that some of the required code could come from the work James is doing. Just getting this part to work would be interesting, and not crazy-difficult. The in-between stage in PharoJS is to still run in Pharo but access a DOM, etc. on a browser so you can get close to final debugging while remaining on Pharo. In many ways this is the most difficult part of PharoJS and would be the most challenging part for PharoJVM. Note that PharoJS (like Amber) doesn't attempt to have perfect fidelity with Smalltalk semantics (for example the numeric stack , dates, collections, morphic, etc. have Javascript semantics or don't exist). I would anticipate that PharoJVM would also have some non-standard semantics. Any opinions? Would this be useful to people other than me? You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Hi Dave, Thanks for the suggestions. Redline targets the Jvm for a couple of reasons (which I won't go into) but is also targeted at enabling people without Pharo to develop in Smalltalk w'out the barrier of changing IDE's. Yes I think Pharo is amazing and the IDE probably the most advanced in the world. However learning it is a barrier to those who use other tool chains. Long term I hope that we will have Smalltalk on the server side and the client be it in a browser or command line. Please continue to follow along and make suggestions - it does shape my thinking Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by James Ladd
Although what is more foreign, an annotation in the method that says <primitive:10> or some code written using the JVM receiver?
-- Just have to get the abstraction level of the JVM receiver right ;-) On Wednesday, 27 September 2017 17:48:23 UTC+9:30, jamesl wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Good point <primitive: 10> Is polluting the source file but it is also v succinct. The JVM receiver is more verbose but can also be put behind a method. I'm sure I'll just use the JVM approach as it w also serve as a guide for people wanting to build adaptor manually for Java classes Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Matt Selway
I'm wrestling w what to do next as I want to do things that show working progress over things that might be used later for example the JVM object which by itself is fine. It if nothing uses it it prolly doesn't need to be there right now. I know that one of the very first expressions in any Smalltalk can be a subclass: message to a receiver like Object. So I'm leaning towards the resolving of that. Ie: looking up Object and if necessary compiling it. Thoughts? Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Well, one of my necessities is the Java Adapter, and if that depends on the JVM object then you need to work on that ;-)
-- But getting basic classes compiling is good too :-) Since I've been looking at some of your old code more over the weekend I think I have a greater appreciation now for how much infrastructure goes into just getting the basic things going, e.g. with the Context objects and all sorts. How much of that needs to be there are the outset? If you need all of that infrastructure I would have thought the next step was clear, or are you trying to think of a way around it? On Tuesday, 3 October 2017 15:24:35 UTC+10:30, jamesl wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by James Ladd
My own needs are to write code in the Smalltalk syntax that will compile to class files that integrate to the Java8 or Android SDKs.
-- On Tuesday, October 3, 2017 at 12:54:35 AM UTC-4, jamesl wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
That is going to happen. Watch for the next push to master
Sent from my Commodore 64 -- You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Oh, believe me I am! I'm looking forward to it. And once I get a better grasp of its structure, I hope to help you speed its development. Alfonso Guerra Founder/CEO Apokalypse Software Corp @Huperniketes (626) 667-4285 On Oct 7, 2017 5:18 AM, "James Ladd" <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by kilon.alios
Regarding your comments about Jython: people use it to script Java Applications, may it be desktop applications or server applications on a backend. I think you completely missed its purpose: a Scripting language that completely integrated into the Java ecosystem and can access everything from the Python ecosystem.
-- And there are millions of people using it. I myself used it during the last 10 years in plenty of projects, many of the have an install base going into the thousands or have thousands of users. You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Sorry if you felt I was negative to jython.
It is a great language
-- Sent from my Commodore 64
You received this message because you are subscribed to the Google Groups "Redline Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |