nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 28 Mar 2024 07:25



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

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
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://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)

_________________
:dj: https://mastodon.social/@Shaos


Last edited by Shaos on 06 Dec 2014 21:55, edited 23 times in total.



01 Sep 2007 20:31
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
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("!...")

_________________
:dj: https://mastodon.social/@Shaos


Last edited by Shaos on 06 Dec 2014 21:53, edited 1 time in total.



21 Jun 2008 20:10
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
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

_________________
:dj: https://mastodon.social/@Shaos


Last edited by Shaos on 06 Dec 2014 21:55, edited 2 times in total.



22 Jun 2008 12:20
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
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

_________________
:dj: https://mastodon.social/@Shaos


Last edited by Shaos on 06 Dec 2014 21:55, edited 1 time in total.



03 Apr 2010 21:59
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
Post 
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).

_________________
:dj: https://mastodon.social/@Shaos


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



24 Mar 2012 00:03
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
Post 
Probably I should release new version...

_________________
:dj: https://mastodon.social/@Shaos


10 Nov 2012 09:13
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
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...

_________________
:dj: https://mastodon.social/@Shaos


02 Dec 2014 10:55
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
Source code moved to GitLab:

https://gitlab.com/shaos/hopeless

Wiki Examples: https://gitlab.com/shaos/hopeless/wikis/Examples

_________________
:dj: https://mastodon.social/@Shaos


06 Jun 2018 19:32
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 12 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.