Jason Songhurst | 19 Jul 2002 07:59
Picon
Favicon

"mzc --gui-exe" on macos x

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

when i compile scheme modules with the '--gui-exe' option on macos X, i 
get a message that the compiler can't find MrEd executable.  see the 
following transcript:

--------snip--------
[localhost:~] js% cat hello.scm
(module hello mzscheme
   (require (lib "class.ss"))
   (require (lib "mred.ss" "mred"))

   (define frame (instantiate frame% ("hello")))
   (send frame show #t))

[localhost:~] js% /Applications/PLT/bin/mzc --gui-exe hello hello.scm
MzScheme compiler (mzc) version 200, Copyright (c) 1996-2001 PLT
make-embedding-executable: can't find MrEd executable
[localhost:~] js%
--------snip--------

on windows, this works like a charm.

what options/environment variables/magic encantations do i need to make 
this work on macos x?

jason songhurst

(Continue reading)

Jason Songhurst | 19 Jul 2002 07:59
Picon
Favicon

"mzc --gui-exe" on macos x

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

when i compile scheme modules with the '--gui-exe' option on macos X, i 
get a message that the compiler can't find MrEd executable.  see the 
following transcript:

--------snip--------
[localhost:~] js% cat hello.scm
(module hello mzscheme
   (require (lib "class.ss"))
   (require (lib "mred.ss" "mred"))

   (define frame (instantiate frame% ("hello")))
   (send frame show #t))

[localhost:~] js% /Applications/PLT/bin/mzc --gui-exe hello hello.scm
MzScheme compiler (mzc) version 200, Copyright (c) 1996-2001 PLT
make-embedding-executable: can't find MrEd executable
[localhost:~] js%
--------snip--------

on windows, this works like a charm.

what options/environment variables/magic encantations do i need to make 
this work on macos x?

jason songhurst

(Continue reading)

Matthew Flatt | 19 Jul 2002 14:46
Picon
Favicon
Gravatar

Re: "mzc --gui-exe" on macos x

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

At Thu, 18 Jul 2002 23:59:10 -0600, Jason Songhurst wrote:
> when i compile scheme modules with the '--gui-exe' option on macos X, i 
> get a message that the compiler can't find MrEd executable.

This feature is broken under OS X in v200.

> what options/environment variables/magic encantations do i need to make 
> this work on macos x?

None of that will help, unfortunately.

It works in the current version in CVS, which is 200.2. It will also
work in version 201, which we expect to release in the near future.

The changes from v200 to fix the bug were numerous and scattered, so
patching v200 (instead of upgrading) would be extremely difficult.

Matthew

David Faden | 20 Jul 2002 07:15
Favicon

slib under Mac OS X

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

Hi,
   I wonder if anyone else has had problems getting slib (2d4) working 
with DrScheme under Mac OS X and might have some advice on how to get it 
to work. I'm mostly following the directions in collects/slibinit/doc.txt.
   I've installed slib in the collects directory. I've changed PLT to be 
group writable (sudo chmod 775 PLT). (PLT was formally 755)
   When slib attemts to finish its installation, it gets as far as creating 
slibcat (in the PLT directory) and writing a few lines but bombs out in 
require.scm. PLT says: "read: expected a ')'"
I guess require.scm is trying to use a different read than the one 
provided by PLT. What should I do to fix this?
   Also, I notice that the case forms in require.scm don't account for 
software-type return "macosx". Is the appropriate way to deal with this 
to add macosx to the lists of choices (with UNIX) of these case forms:
((UNIX COHERENT PLAN9 macosx)	'(#\/))
((UNIX COHERENT PLAN9 AMIGA macosx) "/"))))
   I'm using DrScheme v.200 (iteration 0).
   Thank you.

David

Adrian Kubala | 19 Jul 2002 12:56
X-Face
Picon

Re: efficiency

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

MJ Ray <markj@...> writes:

> Adrian Kubala <kubalaa@...> wrote:
>> Having a single executable is pretty neat [snip!]
>
> Yes, but *other* than that, is there any advantage? [...] The lib
> isn't likely to be that much smaller, is it? It would still need all
> the .zo files with it.

Yes, I suppose PTLs philosophy is more like that of a scripting
language, where I was imagining something more self-contained.

> Just checking the obvious: you are using compiled modules? (.zo
> files) Sorry if you already said that. Otherwise, I'll just boggle
> and wonder what happened.

Actually I guess I wasn't, because I just assumed this was done
automatically for the library files. I changed from (lib "pregexp.so")
to (lib "pregexp.zo") and didn't get any significant improvement, a
second or less.

adrian

Ron Stanonik | 23 Jul 2002 19:31
Favicon

call stack display

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

Hello,

We'd like to users to be able to give us some information when our
application (a C extension) catches SIGSEG or SIGBUS.  Is there a
routine (in scheme or C) which displays the current scheme call stack?

Thanks,

Ron
stanonik@...

Robert Bruce Findler | 23 Jul 2002 18:49
Favicon

change to language creation interface in DrScheme

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

This is a message to anyone who creates new languages in DrScheme (if
you don't, you can ignore the message)

The create-executable method of drscheme:language:language<%> has
changed. It no longer receives the filename for the executable; instead
the method must prompt the user. See either
`drscheme:language:put-executable-file' or
`drscheme:language:create-executable-gui' for two methods of getting a
filename from the user. [new documentation available tomorrow]

Robby

Robert Bruce Findler | 23 Jul 2002 20:41
Favicon

DrScheme's language interface changed

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

This message is for people who are developing languages in DrScheme. If
you don't create your own languages for use in DrScheme, you can safely
ignore this message.

>From plt/notes/drscheme/HISTORY:

  The create-executable method of drscheme:language:language<%> has
  changed. It no longer receives the filename for the executable;
  instead the method must prompt the user. See either
  `drscheme:language:put-executable-file' or
  `drscheme:language:create-executable-gui' for two methods of getting
  a filename from the user.

I have updated all of the languages that are currently
checked into the PLT CVS archive.

Robby

Dr. Gopal Gupta | 23 Jul 2002 19:56

PADL'03: Final Call (subm. deadline: July 31)

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

                          FINAL CALL FOR PAPERS!!!      

                    Fifth International Symposium on 
             Practical Aspects of Declarative Languages 2003
		             (PADL '03) 

	   http://www.research.avayalabs.com/user/wadler/padl03/

		        New Orleans, Louisiana, USA 
		             Jan 13-14, 2003
                      Co-located with POPL 2003 

o    PAPER SUBMISSION DEADLINE: July 31. 

o    PADL'03 proceedings will be published as Springer Verlag LNCS,

o    $500 award for best/most-practical paper.

Benderjg2 | 24 Jul 2002 18:34
Picon
Favicon

Announce: WebIt! - An XML Collection (version 0.4)

[Please handle PLT Scheme list administrative tasks through the Web:
   http://list.cs.brown.edu/mailman/listinfo/plt-scheme]

The WebIt! collection supports the creation and processing of XML, HTML, and 
CSS using Scheme. The core of WebIt! is RS-XML, an abstract datatype for XML.
The WebIt! collection can be downloaded from 
  http://celtic.benderweb.net/webit/.

New in version 0.4 is a substantially expanded XML transformation system,
which allows one to write "macros" for transforming XML documents. One can
write traditional macros, micros, or Expansion Passing Style macros. (Normal
macros and micros are in fact implemented in terms of EPS macros.) Micros
and EPS macros give the programmer more control over the expansion/
transformation process.

Pattern matching of XML, similar to that of syntax-rules/syntax-case is now 
supplied as well. One can write a macro such as the following, to transform 
an XML element "book" (which in turn contains poem XML elements):
 (xml-macro book
   (xml-rules
      ; the input pattern
     ((_ title: bt
         (poem title: t poet: a tag: m
               (stanza (line l1) (line l) ...) ...) ...)
      ; the output template
      (xml-template
         (h4:html
          (h4:head (h4:title bt))
          (h4:body
            (h4:h1 bt)
(Continue reading)


Gmane