Here's the succinctest answer I know of:
http://www.vendian.org/oz/wiki/index.cgi?FAQ#Compiler_error_illegal_use_of_nesting_marker_at_the_top_of_a_functor
On 3/13/08, Graham Percival <[EMAIL PROTECTED]> wrote:
>
> Greetings,
>
> I've used Oz for a few months in the OPI, but now I'm trying to
> generate stand-alone programs so I can start them with scripts. This
> code works fine:
>
> %% ozc -x hello.oz
> %% ./hello
> functor
> import
> System Application
> define
> {System.showInfo 'hello world'}
> {Application.exit 0}
> end
>
>
> However, when I run the code with
> ozc -e hello.oz
> I get this message:
> Mozart Compiler 1.3.2 (20071210) playing Oz 3
>
> %%% feeding file hello.oz
>
> %************************* expansion error **********************
> %**
> %** illegal use of nesting marker
> %**
> %** in file "./hello.oz", line 4, column 0
> %** ------------------ rejected (1 error)
>
>
> What's the diffence between "-e" and "-x followed by ./filename" ? And
> more to the point, what's the illegal nesting marker? What's the
> proper way to create "hello world" ?
>
> Cheers,
> - Graham
>
> _________________________________________________________________________________
> 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