Search found 253 matches

by Fanda
Tue Jan 06, 2009 9:22 pm
Forum: newLISP newS
Topic: Shutdown of www.intricatevisions.com
Replies: 3
Views: 2810

Hello Cormullion, yes, vision was intricate :-) There is definitely more stuff that I would like to share, but next time I might just use something premanufactured instead of building it from scratch. Time and other resources are needed for my other hobbies as well. I might eventually create a new w...
by Fanda
Mon Jan 05, 2009 10:52 pm
Forum: newLISP newS
Topic: Shutdown of www.intricatevisions.com
Replies: 3
Views: 2810

Shutdown of www.intricatevisions.com

Dear newLISPers! Website http://intricatevisions.com/ will be shut down on Jan 10th 2009. Please, download and save anything dear to your heart. Take anything you might find useful: http://intricatevisions.com/index.cgi?page=newlisp http://intricatevisions.com/download/newLISP.ini http://intricatevi...
by Fanda
Sun Oct 12, 2008 11:57 am
Forum: newLISP newS
Topic: Two small proposals for v10!
Replies: 4
Views: 2862

What is it that dont you like about using > (apply list '(a b c d) 2) It combines two different concepts - applying and reducing. When I read the code, I need to count how many parameters 'apply' function has to decipher what action is being taken. That can be confusing. Separate function for reduc...
by Fanda
Sun Oct 12, 2008 10:11 am
Forum: newLISP newS
Topic: Two small proposals for v10!
Replies: 4
Views: 2862

Hello newlispers! Since there is gonna be a new newLISP version, which makes some breaking changes, it is a good time to introduce new things and do some cleanup :-) I am proposing to change behavior of 'dup'. Currently: > (dup 'a 5) (a a a a a) > (dup "a" 5) "aaaaa" In my opinion, it would be nice ...
by Fanda
Sun Feb 24, 2008 10:43 am
Forum: newLISP newS
Topic: newlisp.org will be down for some time
Replies: 7
Views: 3308

I am happy about the change. I couldn't reach newlisp.org from time to time in the past. I wish you more luck with the current provider!

Fanda
by Fanda
Sun Feb 24, 2008 10:29 am
Forum: Anything else we might add?
Topic: A newlisp twin that died 3 years ago?
Replies: 3
Views: 3674

Link that worked for me is:
http://sourceforge.net/projects/reflisp/

LISP is an ancient language and I am not surprised that there are so many implementations. At the same time it's interesting to see another language so close to newLISP. I guess - good ideas never die! ;-)

Fanda
by Fanda
Fri Feb 22, 2008 8:20 pm
Forum: Anything else we might add?
Topic: Greetings from Elica
Replies: 10
Views: 5816

Hi Pavel! Welcome to our forum! I really love the papers you wrote about programming. I read your http://www.elica.net/download/papers/ElicaLogoObjects.pdf and it's funny, how REBOL uses Logo-like syntax and semantics. Actually it was newBert, who pointed us to Elica: http://www.alh.net/newlisp/phpb...
by Fanda
Sat Feb 16, 2008 10:39 am
Forum: newLISP and the O.S.
Topic: 1 dime tip for today: Console2
Replies: 6
Views: 6980

Thumbs up! I like it too! ;-)

Fanda
by Fanda
Thu Feb 07, 2008 8:05 pm
Forum: Anything else we might add?
Topic: Another newLISP-like language :)
Replies: 49
Views: 34196

OOP and FP

To me, it's a great thing to have a language allowing you to use both OOP and FP techniques. That's why I wanted to have OOP in newLISP so much. I can actually model some interesting things with it. My guess is that languages like Python and Ruby are so popular, because they also allow both. I see a...
by Fanda
Sat Feb 02, 2008 10:53 pm
Forum: Anything else we might add?
Topic: Name for a macro?
Replies: 13
Views: 7082

Jeff wrote:concat
Actually, I would suggest something similar. I like how other LISPs use '!' at the end of their functions to imply destructive behaviour. It makes it very clear. See for example dotlisp:
http://dotlisp.sourceforge.net/dotlisp.htm#Lists

Fanda
by Fanda
Thu Jan 31, 2008 10:42 am
Forum: Anything else we might add?
Topic: newLISP & Haskell
Replies: 2
Views: 3082

When I study new languages, I usually see what applications have been written in them. newLISP is web-ready with many functions built-in, good for prototyping and having fun in general. Any kind of a script, which is usually written in Python/Perl/Ruby/Tcl/REBOL can be written easily. It can be embe...
by Fanda
Thu Jan 31, 2008 10:24 am
Forum: Anything else we might add?
Topic: Redefine DEFINE?
Replies: 17
Views: 10411

Actually, I like parenthesis in newLISP and in any other LISP a lot. It makes it easy to see with what parameters have you called the function. Languages like REBOL have managed to get rid of some of the parenthesis by defining exactly how many parameters can you pass to a function. In my opinion it...
by Fanda
Wed Jan 30, 2008 9:23 am
Forum: Anything else we might add?
Topic: Another newLISP-like language :)
Replies: 49
Views: 34196

My expectations were quite high, but there are some good things to look at ;-)

I believe that for example Clojure innovates more:
http://clojure.sourceforge.net/

Fanda
by Fanda
Tue Jan 29, 2008 12:08 pm
Forum: newLISP newS
Topic: define-macro problems
Replies: 3
Views: 2388

Error when using macro is that argKey is 'action NOT action.

Code: Select all

(define-macro (clientParams-get argKey)
   (println argKey)
   (println (lookup argKey clientParams) )
);define

> (clientParams-get 'action) 
'action
nil
nil
by Fanda
Tue Jan 29, 2008 11:59 am
Forum: newLISP newS
Topic: define-macro problems
Replies: 3
Views: 2388

Either leave it as a macro and run it:

Code: Select all

> (clientParams-get action) 
my action
"my action"
or change it to normal function and run it:

Code: Select all

(define (clientParams-get argKey)
   (println (lookup argKey clientParams) )
);define

> (clientParams-get 'action) 
my action
"my action"
by Fanda
Tue Jan 29, 2008 11:40 am
Forum: newLISP newS
Topic: development release newLISP 9.2.17
Replies: 18
Views: 7937

And you can use Yahoo! Babel Fish:
http://babelfish.yahoo.com/

to translate it ;-)

Fanda
by Fanda
Sun Jan 27, 2008 1:21 pm
Forum: Anything else we might add?
Topic: OOP using nested association lists and lets
Replies: 13
Views: 7424

New updated version can be found here:
http://intricatevisions.com/source/newlisp/oop.lsp

- added 'type' and 'type?' functions
- shorter syntax: instead of obj-do, obj-set, obj-get use .do, .set, .get

Fanda
by Fanda
Sun Jan 27, 2008 1:15 pm
Forum: Anything else we might add?
Topic: 99 bottles of beer on the wall
Replies: 18
Views: 12347

Another version using: http://intricatevisions.com/source/newlisp/oop.lsp (load "oop.lsp") (set 'Wall (object () bottles 0 init (fn (b) (set 'bottles b)) bottles? (fn () (> bottles 0)) take-one (fn () (dec 'bottles)) restock (fn () (set 'bottles 99)) bottle-count (fn ((verbose nil)) (string (if (= b...
by Fanda
Fri Jan 11, 2008 5:00 pm
Forum: newLISP newS
Topic: WINNERS NEWLISP COMPETITION 2007
Replies: 17
Views: 6740

Congratulation to all winners! Enjoy your prices!

Fanda
by Fanda
Sun Jan 06, 2008 11:33 am
Forum: Anything else we might add?
Topic: newLisp competition 2007
Replies: 68
Views: 45146

We could put weight on votes for each position: 1st -> 3 points 2nd -> 2 points 3rd -> 1 point This way: 1st place: A:6 B:4 C:0 2nd place: A:2 B:3 C:5 A = 6*3 + 2*2 = 18+4 = 22 points B = 4*3 + 3*2 = 12+6 = 18 points C = 0*3 + 5*2 = 0+10 = 10 points Now it is more clear and I think also fair. Fanda
by Fanda
Fri Dec 28, 2007 6:06 pm
Forum: Anything else we might add?
Topic: Festive hacking
Replies: 7
Views: 5006

I have no experience with iPhone, but I was quite impressed with Android:
http://code.google.com/android/
(see the videos)

News:
http://www.interentnews.com/dev-news/ar ... hp/3710656
http://www.infoworld.com/article/07/11/ ... SDK_1.html

Fanda
by Fanda
Fri Dec 28, 2007 2:32 pm
Forum: Anything else we might add?
Topic: Festive hacking
Replies: 7
Views: 5006

Yes, CSS is always trouble. When I started my website, I used to try it in Internet Explorer, Firefox and Opera. But after some time it gets labour-intensive to try every new change, so I usually *HOPE* ;-)))
by Fanda
Fri Dec 28, 2007 11:16 am
Forum: Anything else we might add?
Topic: Festive hacking
Replies: 7
Views: 5006

Hello Cormullion!

For whatever reason, under Windows XP and FireFox (2.0.0.11), there are no blue buttons shown.

I don't see "help" or "again". I can see "evaluate" in the right top corner, but it isn't blue.

Otherwise... evaluation is fun :-)

Fanda
by Fanda
Sun Dec 23, 2007 6:41 pm
Forum: Anything else we might add?
Topic: Xmas album from magnatune
Replies: 1
Views: 2301

Merry Christmas!

Many gifts, time to rest and happy coding if you decide to do so ;-)

Fanda
by Fanda
Fri Dec 07, 2007 7:57 pm
Forum: newLISP newS
Topic: How to modify list within a list by reference?
Replies: 17
Views: 7784

I implemented a simple memory allocation hack: ;; Simple memory allocation hack ;-) ;; (context 'memory) (if (not n) (set 'n 0)) (define (memory:new) (inc 'n) (sym (string "p" n))) (set 'EMPTY-FIELD 'VOID) (define (memory:delete ptr) (set ptr EMPTY-FIELD)) (define (memory:write ptr data) (if (!= (ev...