nedoPC.org

Community of electronics hobbyists established in 2002

...
Atom Feed | View unanswered posts | View active topics It is currently 23 Aug 2017 17:31



Reply to topic  [ 7 posts ] 
[Soft] Hopeless implementation of HOPE 
Author Message
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15447
Location: New York
Reply with quote
http://www.hopelog.com

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/20130702121539/http://www.soi.city.ac.uk/~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://github.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)

_________________
:eugeek: https://twitter.com/Shaos1973


Last edited by Shaos on 07 Dec 2014 00:55, edited 23 times in total.



01 Sep 2007 23:31
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15447
Location: New York
Reply with quote
Post 
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("!...")

_________________
:eugeek: https://twitter.com/Shaos1973


Last edited by Shaos on 07 Dec 2014 00:53, edited 1 time in total.



21 Jun 2008 23:10
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15447
Location: New York
Reply with quote
Post 
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

_________________
:eugeek: https://twitter.com/Shaos1973


Last edited by Shaos on 07 Dec 2014 00:55, edited 2 times in total.



22 Jun 2008 15:20
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15447
Location: New York
Reply with quote
Post 
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

_________________
:eugeek: https://twitter.com/Shaos1973


Last edited by Shaos on 07 Dec 2014 00:55, edited 1 time in total.



04 Apr 2010 00:59
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15447
Location: New York
Reply with quote
Post 
Sources are commited to GitHub!

https://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).

_________________
:eugeek: https://twitter.com/Shaos1973


Last edited by Shaos on 03 May 2012 22:20, edited 1 time in total.



24 Mar 2012 03:03
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15447
Location: New York
Reply with quote
Post 
Probably I should release new version...

_________________
:eugeek: https://twitter.com/Shaos1973


10 Nov 2012 12:13
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15447
Location: New York
Reply with quote
Post 
Original website is not available anymore - see its archived copy: https://web.archive.org/web/20130702121539/http://www.soi.city.ac.uk/~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...

_________________
:eugeek: https://twitter.com/Shaos1973


02 Dec 2014 13:55
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.