guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-304-g47ed3


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-304-g47ed3ca
Date: Sat, 06 Apr 2013 11:07:12 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=47ed3ca43aa32acf1550c0ff9696b1b51f43e236

The branch, stable-2.0 has been updated
       via  47ed3ca43aa32acf1550c0ff9696b1b51f43e236 (commit)
       via  004094d378182d8343398c0bec817114c06ea933 (commit)
       via  66750b78c7f67e91d1e01a4926e2e85a12f2b16a (commit)
      from  3f1362adb5203b95079200520357bff36c3a6672 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 47ed3ca43aa32acf1550c0ff9696b1b51f43e236
Author: Ludovic Courtès <address@hidden>
Date:   Sat Apr 6 13:06:52 2013 +0200

    Update `NEWS'.

commit 004094d378182d8343398c0bec817114c06ea933
Author: Ludovic Courtès <address@hidden>
Date:   Sat Apr 6 13:06:36 2013 +0200

    doc: Document `--language'.
    
    * doc/ref/guile-invoke.texi (Command-line Options): Document `--language'.

commit 66750b78c7f67e91d1e01a4926e2e85a12f2b16a
Author: Ludovic Courtès <address@hidden>
Date:   Sat Apr 6 12:41:26 2013 +0200

    doc: Document file name separator procedures.
    
    * doc/ref/posix.texi (File System): Document
      `system-file-name-convention', `file-name-separator?',
      `absolute-file-name?', and `file-name-separator-string'.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                      |   12 +++---------
 doc/ref/guile-invoke.texi |   29 +++++++++++++++++++++++++++++
 doc/ref/posix.texi        |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 64 insertions(+), 9 deletions(-)

diff --git a/NEWS b/NEWS
index c17e3cb..1ea4c54 100644
--- a/NEWS
+++ b/NEWS
@@ -13,12 +13,6 @@ Reorder points in order of importance and make comprehensible
 
 Assemble thanks
 
-file name docs
-
-gnulib version
-
---language docs
-
 * Notable changes
 
 ** New guile.m4.
@@ -184,7 +178,7 @@ See "File System".
 
 ** New procedures for dealing with file names.
 
-See XXX for documentation on `system-file-name-convention',
+See "File System" for documentation on `system-file-name-convention',
 `file-name-separator?', `absolute-file-name?', and
 `file-name-separator-string'.
 
@@ -215,9 +209,9 @@ parser deals with namespaces, processed entities, doctypes, 
and literal
 strings.  Incidentally, `current-ssax-error-port' is now a parameter
 object.
 
-** New command-line argument: `--language'
+** New command-line argument: `--language'.
 
-See XXX in the manual.
+See "Command-line Options" in the manual.
 
 ** `current-language' in default environment.
 
diff --git a/doc/ref/guile-invoke.texi b/doc/ref/guile-invoke.texi
index 866bf1d..29f3c93 100644
--- a/doc/ref/guile-invoke.texi
+++ b/doc/ref/guile-invoke.texi
@@ -208,6 +208,35 @@ Treat the auto-compilation cache as invalid, forcing 
recompilation.
 @item --no-auto-compile
 Disable automatic source file compilation.
 
address@hidden
+
address@hidden address@hidden
+For the remainder of the command line arguments, assume that files
+mentioned with @code{-l} and expressions passed with @code{-c} are
+written in @var{lang}.  @var{lang} must be the name of one of the
+languages supported by the compiler (@pxref{Compiler Tower}).  When run
+interactively, set the REPL's language to @var{lang} (@pxref{Using Guile
+Interactively}).
+
+The default language is @code{scheme}; other interesting values include
address@hidden (for Emacs Lisp), and @code{ecmascript}.
+
+The example below shows the evaluation of expressions in Scheme, Emacs
+Lisp, and ECMAScript:
+
address@hidden
+guile -c "(apply + '(1 2))"
+guile --language=elisp -c "(= (funcall (symbol-function '+) 1 2) 3)"
+guile --language=ecmascript -c '(function (x) @{ return x * x; @})(2);'
address@hidden example
+
+To load a file written in Scheme and one written in Emacs Lisp, and then
+start a Scheme REPL, type:
+
address@hidden
+guile -l foo.scm --language=elisp -l foo.el --language=scheme
address@hidden example
+
 @vnew{2.0}
 
 @item address@hidden, }--help
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index 870717e..880ac41 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -1009,6 +1009,38 @@ Return @code{#t} if the file named @var{filename} 
exists, @code{#f} if
 not.
 @end deffn
 
address@hidden file name separator
address@hidden absolute file name
+
+Many operating systems, such as GNU, use @code{/} (forward slash) to
+separate the components of a file name; any file name starting with
address@hidden/} is considered an @dfn{absolute file name}.  These conventions
+are specified by the POSIX Base Definitions, which refer to conforming
+file names as ``pathnames''.  Some operating systems use a different
+convention; in particular, Windows uses @code{\} (backslash) as the file
+name separator, and also has the notion of @dfn{volume names} like
address@hidden:\} for absolute file names.  The following procedures and
+variables provide support for portable file name manipulations.
+
address@hidden {Scheme Procedure} system-file-name-convention
+Return either @code{posix} or @code{windows}, depending on
+what kind of system this Guile is running on.
address@hidden deffn
+
address@hidden {Scheme Procedure} file-name-separator? c
+Return true if character @var{c} is a file name separator on the host
+platform.
address@hidden deffn
+
address@hidden {Scheme Procedure} absolute-file-name? file-name
+Return true if @var{file-name} denotes an absolute file name on the host
+platform.
address@hidden deffn
+
address@hidden {Scheme Variable} file-name-separator-string
+The standard file name separator.
address@hidden defvr
+
 
 @node User Information
 @subsection User Information


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]