From: Brian Z. <bri...@ya...> - 2002-03-19 22:51:21
|
Brad, Honored to have you here. Apparently you hit a known bug: http://sourceforge.net/tracker/index.php?func=detail&aid=222805&group_id=128 67&atid=112867 In Robert W. Bill's book, page 5 about Line Separators and Block Indentation Syntax: """ A Current Interactive Limitation One disclaimer concerning the interactive interpreter: The current implementation of Jython produces an error when employing backslashes, open enclosures, and triple-quotes in interactive mode despite it being legal syntax. This syntax does work in Jython files as well as in the interactive interpreter for CPython (Jython's counterpart implemented in C). It could be working in interactive mode as well by the time you read this, but if not, those examples with extended logical lines should be placed in a file and run as an argument to the Jython interpreter (such as jython example.py). """ Wonder how hard it is to fix? Any idea from the developers? -Brian ----- Original Message ----- From: "Brad Cox" <bc...@vi...> To: <jyt...@li...> Sent: Tuesday, March 19, 2002 8:16 AM Subject: [Jython-users] Newbie problems > I've just begun experimenting with jpython (just today). Hope to use > it to replace velocity as the teacher-programmable component of the > interactive learning environment at http://virtualschool.edu/jile. > > My first problem is that tutorial chapter on strings isn't working > right (on Linux 7.0 Redhat) > >>> "Hello world" > "Hello world" > > >>> "Hello\ > Syntax error: LexicalScanner Encountered <EOF> after \ > > This one is critical and preventing me from exploring deeper. > > Second problem is that command history isn't working. readline is > definitely installed but isn't being recognized by the installer. > > Can someone please help? Sorry if these are faqs; I've not made it > through all the docs yet. > -- > Brad Cox, PhD; bc...@vi... 703 361 4751 > o For industrial age goods there were checks and credit cards. > For everything else there is http://virtualschool.edu/mybank > o Java Interactive Learning Environment http://virtualschool.edu/jile > o Java Web Application Architecture: http://virtualschool.edu/jwaa > > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |