Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - aron

#1
newLISP and the O.S. /
September 10, 2008, 06:18:29 AM
Quote from: "tom"That will work if I include it in myscript itself?  Wouldn't that loop forever?


If you call it allways then..



Not forever, but a long time I guess. It becomes a Recursive execution of the script and I think it needs more and more memory until there is no memory left, but maybe something else can occure.



I remember i read about an loop that looked like a newer ending loop but it was stopt by an (hardwar-related) exception and the execution was then restarted from the first line on that platform.
#2
Anything else we might add? /
August 29, 2008, 04:57:25 AM
I learned Lisp at Linköpings university in the introduction programming course, we did use Allegro Common Lisp(Franz, Inc.). Later I think I found newLisp while locking for free implementations of Lisp, also working for windows XP, because that was what I was using at the moment.



I don't remember exactly but I think it was from this list I found it:

http://wiki.alu.org/Implementation">http://wiki.alu.org/Implementation
#3
newLISP and the O.S. /
August 27, 2008, 03:23:53 AM
Hi and thanx for you replys.



So what you say is that one solution is to, get a touch for Windows and then read the "Date modified" value, uppdate the file and then set back the value afterwards.



Will maybe try fixing that.



edit: Maybe I can use the version of touch from: http://gnuwin32.sourceforge.net/packages/coreutils.htm">http://gnuwin32.sourceforge.net/packages/coreutils.htm
#4
Hi i use:



http://www.newlisp.org/downloads/newlisp_manual.html#write-file">http://www.newlisp.org/downloads/newlis ... write-file">http://www.newlisp.org/downloads/newlisp_manual.html#write-file



To uppdate textfiles, but i don't want the "Date modified" uppdated.



Can I do that in some way?
#5
newLISP newS /
June 15, 2006, 06:12:45 AM
Thanks, i like those, starting to learn these thing now I think.



;; javascript: for(i=0,j=1,k=0,fib=1; i<10; i++,fib=j+k,k=j,j=fib) document.write(fib + " ");
#6
newLISP newS /
June 14, 2006, 11:42:48 PM
Aaa, I can't choose between those groups need one of my own. Of course I want to add some of those funny stuff I haven't tested jet to.



Group C:

C++

Ada

Common Lisp

Scheme

newLISP



Maybe it's me or my university which is a little weird, who knows.
#7
Anything else we might add? /
May 22, 2006, 07:05:06 AM
Thanks for the code Lutz, I still need some time to grasp it but it looks very nice. testing.. testing
#8
Hi I'm quite new to this newLISP thing, but I was thinking mabe make a good replacement script/program, someone maybe alredy done one?



This is what I want:



Arguments:

Start string, End String, Replace string/textfile, file_list_to_replace_in



Description:

Replaces everyting betwean Start string and End string with the text from the replace string/textfile in all files from the file list and on all places in those files.

 

Some kind of example:
(replace-strings '<div class="thing" id="start">' '<!-- end of start -->' 'start.txt' ('index.html' 'page1.html' 'page3.html'))


Replaces everyting betwean all <div class="thing" id="start"> and <!-- end of start --> with the text from the start.txt in index.html,page1.html and page3.html.

 

Mabe make an option with a target file were a new file is created instead of changing the first one... this sounds easier.



All ideeas are wery appreciateed