Hopeless v0.5
Recently I released version 0.5 of my fork of pre-existed Hope interpreter (classical functional programming language) named “Hopeless”:
- added ‘\r’ to function “isspace” in ctype.hop
- fixed function “dir” in system_win.hop
- path to libraries changed to /usr/local/share/hopeless
- created man file hopeless.1 (modified hope.1)
- fixed “make install” for Hopeless
- new library lib/db_sqlite.hop (database support with sqlite3)
- added functions “del” and “write_to” to lib/system.hop
- check for ‘\n’ and ‘\r’ before run commands (“!…”)
- defined constant “stdin” instead of functions “getc” and “gets” (lib/system.hop)
- modified test _input.hop
Source code: hopeless-v0.5.tar.bz2 (100K)
For more info see www.hopelog.com where you can find all previous versions of Hopeless plus Win32 binaries.
saintpancreas said:
Oct 01, 10 at 7:34 AMHi Shaos,
Thanks very much for making hopeless. Hope has always been my favourite
language. I learned it first whnen doing a PhD in Imperial College in 1980!
I am now going to teach it to my students at Goldsmiths College, University
of London.
I use Linux myself but my students use windoze.
How do we do they equivalent of:
hope < test.hop
in the windows version?
ie. how do we run a file?
Shaos said:
Oct 09, 10 at 7:21 AMThanks for your interest to my fork of Hope implementation of Ross Paterson.
In Windows you can run the same command as in Linux from command line:
hopeless -f program.hop
Check bat-files from windows version
Shaos said:
Oct 12, 10 at 10:28 PMI’ve just updated hopeless_cygwin.zip to match version 0.5
Shaos said:
Nov 06, 10 at 7:39 AMVersion for MacOS X 10.4 PPC is also available