#16 Trying JTalk

Closed
opened 8 years ago by nero · 0 comments

Originally at 2011-08-26T13:26:40Z by Alexandre Bergel closed at 2011-08-27T21:03:42Z

Hi!

As my first mail, I would like to congrat you guys for your work. I feel a gamer-change is lurking somewhere. Indeed, I would like to program in Pharo on my iPhone, iPad, and laptop and allowing my customers to run my application in a webbrowser. No idea whether jtalk is the right thing to reach my goal or not, but I am willing to give a try.

A few seconds ago I did a clone of jtalk. Within Pharo I create the file MyDummyClass.st by executing the following expression: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | cls | cls := Object subclass: #MyDummyClass. cls compile: 'foo ^ 10'. cls compile: 'bar ^ self foo * 2'.

cls fileOut -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

In a terminal, I do: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= /tmp/jtalk> ./bin/jtalkc MyDummyClass.st readlink: illegal option -- f usage: readlink [-n] [file ...] usage: mktemp [-d] [-q] [-t prefix] [-u] template ...

   mktemp [-d] [-q] [-u] -t prefix 

./bin/jtalkc: line 242: /compiler.js: Permission denied Loading libraries /js/boot.js /js/Kernel.js /js/Parser.js /js/Compiler.js /js/Canvas.js and compiling ... ./bin/jtalkc: line 246: node: command not found Failed compilation of MyDummyClass.js, exiting. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

The command "find . -name "compiler.js" tells me that there is no compile.js file. There is a Compiler.js though.

Is there something wrong I did? I use OSX

Cheers, Alexandre

Originally at 2011-08-26T13:26:40Z by Alexandre Bergel closed at 2011-08-27T21:03:42Z Hi! As my first mail, I would like to congrat you guys for your work. I feel a gamer-change is lurking somewhere. Indeed, I would like to program in Pharo on my iPhone, iPad, and laptop and allowing my customers to run my application in a webbrowser. No idea whether jtalk is the right thing to reach my goal or not, but I am willing to give a try. A few seconds ago I did a clone of jtalk. Within Pharo I create the file MyDummyClass.st by executing the following expression: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | cls | cls := Object subclass: #MyDummyClass. cls compile: 'foo ^ 10'. cls compile: 'bar ^ self foo * 2'. cls fileOut -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= In a terminal, I do: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= /tmp/jtalk> ./bin/jtalkc MyDummyClass.st readlink: illegal option -- f usage: readlink [-n] [file ...] usage: mktemp [-d] [-q] [-t prefix] [-u] template ... mktemp [-d] [-q] [-u] -t prefix ./bin/jtalkc: line 242: /compiler.js: Permission denied Loading libraries /js/boot.js /js/Kernel.js /js/Parser.js /js/Compiler.js /js/Canvas.js and compiling ... ./bin/jtalkc: line 246: node: command not found Failed compilation of MyDummyClass.js, exiting. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The command "find . -name "compiler.js" tells me that there is no compile.js file. There is a Compiler.js though. Is there something wrong I did? I use OSX Cheers, Alexandre
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.