Hi Mark,
A good alternative is to have a look at the Prototyper:
http://www.mozart-oz.org/documentation/mozart-stdlib/wp/qtk/html/node2.html#chapter.prototyper
You basically run it like this
declare
[Prototyper]={Module.link ["x-oz://system/wp/Prototyper.ozf"]}
{Prototyper.run}
It is oriented to learn how to program a GUI in Mozart, but it can help you
because it has a text area where you can modify code, click on the "Run"
button and execute it. It is full of other interesting examples, and in fact,
the application itself is one of the examples, check Demo_02_ThisApp
I hope it helps
cheers
Boriss
Pavel Rozenblioum wrote:
Hi,
I believe that the process used by the IDE is described here:
http://www.mozart-oz.org/documentation/opi/node4.html#chapter.running
/p
On 6/3/08, mark richardson <[EMAIL PROTECTED]> wrote:
Hi everyone,
I'm trying to write a *very* small IDE for Mozart.
At the moment I'm using a conversion of the demo notepad application with
just a button to feed the file to Mozart. I'm using a pre-defined file name
for testing purposes but it's proving harder than I thought it would.
My questions are:
What is the best way to pass the file out of Mozart - built in function
(I've seen the feedBuffer procedure which I thought was in the Narrator
module but can't get that working) or issuing a shell command to manually
call the Oz tools?
If I used shell commands, what is the procedure for running an Oz source
file (the way Emacs does)? I assume there must be a compile/link/execute
procedure to follow but I thought ozc only accepted source code in a
to-be-a-functor form.
I don't start my course in Lisp until October so the Emacs lisp files don't
help much either.
Any help would be gratefully received.
Mark Richardson
(Frustrated novice)
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users