Using cd with absolute path results in error for me:
Shen 2010, copyright (C) 2010 Mark Tarver
www.shenlanguage.org, version 6.1
running under Common Lisp, implementation: CLisp
port 1.2 ported by Mark Tarver
(1-) (write-to-file "test.txt" "out")
PARSE-NAMESTRING: syntax error in filename "C:/dev/workspace/ShenJ/src/main/shen
//C:/dev/workspace/ShenJ/src/main/shen//test.txt" at position 39
> Using cd with absolute path results in error for me:
> Shen 2010, copyright (C) 2010 Mark Tarverwww.shenlanguage.org, version 6.1
> running under Common Lisp, implementation: CLisp
> port 1.2 ported by Mark Tarver
On Tue, Oct 9, 2012 at 5:22 AM, Mark Tarver <dr.mtar...@gmail.com> wrote:
> Try missing out the final / in the cd string. Shen puts this in
> automatically; you have // in the pathname which is wrong.
(1-) (write-to-file "test.txt" "out")
PARSE-NAMESTRING: syntax error in filename "C:/dev/workspace/ShenJ/src/main/shen
/C:/dev/workspace/ShenJ/src/main/shen/test.txt" at position 38
Look at the error closely. It's duplicating the whole path:
C:/dev/workspace/ShenJ/src/main/shen/C:/dev/workspace/ShenJ/src/main/shen/t est.txt
I'm still seeing the error with absolute path names in shen-clisp 7.
Shen 2010, copyright (C) 2010 Mark Tarver www.shenlanguage.org, version 7 running under Common Lisp, implementation: CLisp port 1.2 ported by Mark Tarver
(0-) (cd "C:/") "C://"
(1-) (write-to-file "test.txt" "test out") PARSE-NAMESTRING: syntax error in filename "C://C://test.txt" at position 5
Shen 2010, copyright (C) 2010 Mark Tarver
www.shenlanguage.org, version 7.1
running under Common Lisp, implementation: CLisp
port 1.2 ported by Mark Tarver
> I'm still seeing the error with absolute path names in shen-clisp 7.
> Shen 2010, copyright (C) 2010 Mark Tarverwww.shenlanguage.org, version 7
> running under Common Lisp, implementation: CLisp
> port 1.2 ported by Mark Tarver
> (0-) (cd "C:/")
> "C://"
> (1-) (write-to-file "test.txt" "test out")
> PARSE-NAMESTRING: syntax error in filename "C://C://test.txt" at position 5
On Mon, Nov 19, 2012 at 8:14 AM, Mark Tarver <dr.mtar...@gmail.com> wrote:
> None here. look at your cd command.
> Shen 2010, copyright (C) 2010 Mark Tarver
> www.shenlanguage.org, version 7.1
> running under Common Lisp, implementation: CLisp
> port 1.2 ported by Mark Tarver
> On Mon, Nov 19, 2012 at 8:14 AM, Mark Tarver <dr.mtar...@gmail.com> wrote:
> > None here. look at your cd command.
> > Shen 2010, copyright (C) 2010 Mark Tarver
> >www.shenlanguage.org, version 7.1
> > running under Common Lisp, implementation: CLisp
> > port 1.2 ported by Mark Tarver