FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups nedoPC.org  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 RegisterRegister 
 
Hopeless implementation of HOPE

 
Post new topic   Reply to topic    nedoPC.org Forum Index -> nedoPC in English

Shaos Reply with quote
Admin


Joined: 09 Jan 2003
Posts: 5536
Location: New York, USA

PostPosted: 01 Sep 2007 23:31    Post subject: Hopeless implementation of HOPE
 
http://www.hopelog.com

Hopeless is extended HOPE interpreter based on GPLed implementation by Ross Paterson
( see for more info 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)

Latest build for Windows (cygwin1.dll included): hopeless_cygwin.zip (0.8Mb)

27-June-2007 Hopeless v0.1

* 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-September-2007 Hopeless v0.2

* function "read" now can run commands (if filename starts with !)
* new example test/_run.hop demonstrates #!/..., argv and read("!...")
_________________
Shaos / nedoPC team


Last edited by Shaos on 05 Apr 2010 03:02; edited 12 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Shaos Reply with quote
Admin


Joined: 09 Jan 2003
Posts: 5536
Location: New York, USA

PostPosted: 21 Jun 2008 23:10    Post subject:
 
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
_________________
Shaos / nedoPC team
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Shaos Reply with quote
Admin


Joined: 09 Jan 2003
Posts: 5536
Location: New York, USA

PostPosted: 22 Jun 2008 15:20    Post subject:
 
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
_________________
Shaos / nedoPC team
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Shaos Reply with quote
Admin


Joined: 09 Jan 2003
Posts: 5536
Location: New York, USA

PostPosted: 04 Apr 2010 00:59    Post subject:
 
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
_________________
Shaos / nedoPC team
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Post new topic   Reply to topic    nedoPC.org Forum Index -> nedoPC in English
Page 1 of 1

Choose Display Order
Display posts from previous:   
User Permissions
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 vote in polls in this forum

 
Jump to:  


Skin Created by Sigma12 and modified by Shaos
Powered by phpBB © 2001-2005 phpBB Group