Hopeless v0.5

VN:F [1.9.11_1134]
Rating: 0 (from 0 votes)
VN:F [1.9.11_1134]
Rating: 0.0/5 (0 votes cast)

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.

4 Responses to “Hopeless v0.5”

  1. saintpancreas said:

    Oct 01, 10 at 7:34 AM

    Hi 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?

    VN:F [1.9.11_1134]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.11_1134]
    Rating: 0 (from 0 votes)
  2. Shaos said:

    Oct 09, 10 at 7:21 AM

    Thanks 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

    VN:F [1.9.11_1134]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.11_1134]
    Rating: 0 (from 0 votes)
  3. Shaos said:

    Oct 12, 10 at 10:28 PM

    I’ve just updated hopeless_cygwin.zip to match version 0.5

    VN:F [1.9.11_1134]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.11_1134]
    Rating: 0 (from 0 votes)
  4. Shaos said:

    Nov 06, 10 at 7:39 AM

    Version for MacOS X 10.4 PPC is also available

    VN:F [1.9.11_1134]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.11_1134]
    Rating: 0 (from 0 votes)

Leave a Reply

You must be logged in to post a comment.