Functional Programming Language HOPE
Hopeless
"Hopeless" is extended HOPE interpreter based on GPLed implementation by Ross Paterson
( see for more info http://www.soi.city.ac.uk/~ross/Hope/ ).
Eventually 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++.
ToDo:
- repeat last enter
- syntax highlighting
- display listing by name
- smart adding of definitions
- concurrency and networking
- graphics through OpenGL
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
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
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
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("!...")
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
Source code repository: https://github.com/shaos/hopeless
Latest build for MacOS X (version 10.4 for PowerPC): hopeless_macosx_ppc.zip (79K)
Latest build for Windows (cygwin1.dll included): hopeless_cygwin.zip (803K)
To discuss it go to our ENGLISH or RUSSIAN forums
or drop me e-mail to ashabarshin at gmail dot com.
Page created: 27-Jun-2007
Last modified: 24-Mar-2012
Copyright (c) 2007-2012 Alexander A. Shabarshin <ashabarshin at gmail dot com>
Original source code of Hope interpreter under GPLv2:
Copyright (c) 1988-1999 Ross Paterson