[Soft] Hopeless implementation of HOPE

English forum for http://www.nedopc.org/nedopc

Moderator: Shaos

User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

[Soft] Hopeless implementation of HOPE

Post by Shaos »

Hopeless is extended HOPE interpreter based on GPLed implementation by Ross Paterson (original website is not available anymore - see its archived copy for more info: https://web.archive.org/web/20130702121 ... ross/Hope/)

I plan to add here graphics and networking capabilities to use it as a regular language. On other hand I plan to use it as a scripting language for big programs written in C/C++.

Latest sources for *NIX: hopeless-v0.5.tar.bz2 (100K) and GitHub: https://gitlab.com/shaos/hopeless

Latest build for MacOS X (version 10.4 for PowerPC): hopeless_macosx_ppc.zip (80K)

Latest build for Windows (cygwin1.dll included): hopeless_cygwin.zip (0.8Mb)
Last edited by Shaos on 06 Dec 2014 21:55, edited 23 times in total.
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

27-Jun-2007 hopeless-v0.1.tar.bz2 (98K)

* option -v prints new name and version
* interactive command "write" does not print quotations now
* new interactive command "help" prints list of interactive commands

02-Sep-2007 hopeless-v0.2.tar.bz2 (98K)

* function "read" now can run commands (if filename starts with !)
* new example test/_run.hop demonstrates #!/..., argv and read("!...")
Last edited by Shaos on 06 Dec 2014 21:53, edited 1 time in total.
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

21-Jun-2008 hopeless-v0.3.tar.bz2 (99K)

* new example test/_input.hop demonstrates input from keyboard (stdin)
* fixed lib/lines.hop to skip '\r'
* new library lib/system.hop and lib/system_win.hop (functons "getc" and "gets")
* new library lib/string.hop (right now only to define type "string")
* added function "dir" to lib/system.hop and lib/system_win.hop
* new predefined list "env" with some environment variables for CGI

22-Jun-2008 hopeless-v0.4.tar.bz2 (99K)

* separate file version.h for APPNAME and VERSION macros
* longer supported filenames (now 256 instead of 100)
* more simultaniously supported streams (now 100 instead of 20)
* restricted mode (-r) now allows reading, but disables running commands ("!...")
* now "mktemp" is used to create temporary filename for running commands
* more available variables in "env" for CGI mode
Last edited by Shaos on 06 Dec 2014 21:55, edited 2 times in total.
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

04-Apr-2010 hopeless-v0.5.tar.bz2 (100K)

* 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
Last edited by Shaos on 06 Dec 2014 21:55, edited 1 time in total.
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

Sources are commited to GitHub!

github.com/shaos/hopeless

All versions are there (but I kind of faked history of changes before v0.5 because on Apr 3, 2010 I simply commited to local git repository original Hope sources then v0.1 then v0.2 then v0.3 then v0.4 then v0.5 one after another in order to preserve changes between versions).
Last edited by Shaos on 03 May 2012 19:20, edited 1 time in total.
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

Probably I should release new version...
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

Original website is not available anymore - see its archived copy: https://web.archive.org/web/20130702121 ... ross/Hope/

P.S. Some time ago I started to use wiki on GitHub to describe some new features: https://github.com/shaos/hopeless/wiki/Examples

P.P.S. I definitely must release new version...
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Re: [Soft] Hopeless implementation of HOPE

Post by Shaos »

Я тут за главного - если что шлите мыло на me собака shaos точка net