Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Filesystem access in Scheme: API standards?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
George Caswell  
View profile  
 More options Jan 8 2002, 3:48 pm
Newsgroups: comp.lang.scheme
From: George Caswell <tetsu...@maine.rr.com>
Date: Tue, 08 Jan 2002 20:46:28 GMT
Local: Tues, Jan 8 2002 3:46 pm
Subject: Filesystem access in Scheme: API standards?

   Hi,

   Recently my favorite Scheme implementation, LispMe for PalmOS, got a new
major release - it now supports compile-time definition of new datatypes.  As
a result, I'm planning a "file" datatype and a set of new functions for
accessing files on the flash memory storage cards available on certain PalmOS
models.  So, I have two questions:

   1: Is there a good set of standardized semantics for file access in Scheme?
I want the library to support access of binary data as well as text, and to
support other relevant operations: directory listing, creating/deleting files
and directories, etc.  I was thinking of emulating parts of the POSIX library
from Guile, but that part of the documentation seems to be missing.
   2: I would like to somehow support mechanisms for allowing Scheme code to
be notified when cards are ejected or inserted, but I haven't thought of a
good way to do it.  In C, the notifications are provided by a re-entrant call
to the application's main routine.  I'm not quite sure how a notification
like that should be implemented for a Scheme VM, however - I suppose Scheme
code could poll to see if any such notifications have been enqueued, or block
waiting for such an event, or maybe even use something like a call/cc to enter
a filesystem-critical-region, where the continuation would be called if a card
event happened (in C++, this would be equivalent to an exception being thrown
by the filesystem library)

   Thanks in advance,

---GEC
Projects page: http://home.maine.rr.com/tetsujin/
(M-x depeche-mode)
"Must...  Finish...  Zaku..."


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Sperber [Mr. Preprocessor]  
View profile  
 More options Jan 9 2002, 4:35 am
Newsgroups: comp.lang.scheme
From: sper...@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: Wed, 09 Jan 2002 10:09:15 +0100
Local: Wed, Jan 9 2002 4:09 am
Subject: Re: Filesystem access in Scheme: API standards?

>>>>> "GEC" == George Caswell <tetsu...@maine.rr.com> writes:

GEC>    Hi,

GEC>    Recently my favorite Scheme implementation, LispMe for PalmOS, got a new
GEC> major release - it now supports compile-time definition of new datatypes.  As
GEC> a result, I'm planning a "file" datatype and a set of new functions for
GEC> accessing files on the flash memory storage cards available on certain PalmOS
GEC> models.  So, I have two questions:

GEC>    1: Is there a good set of standardized semantics for file access in Scheme?
GEC> I want the library to support access of binary data as well as text, and to
GEC> support other relevant operations: directory listing, creating/deleting files
GEC> and directories, etc.  I was thinking of emulating parts of the POSIX library
GEC> from Guile, but that part of the documentation seems to be missing.

I recommend a look at the POSIX subsystem in Scheme 48 or that in
scsh.  Both are well-documented.

--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »