newLisp competition 2007

Started by newdep, June 05, 2007, 11:17:43 AM

Previous topic - Next topic

newdep

#15
That would be a nice to have indeed ;-) But i dont think its easy to build...



But if you build it, perhpas a "Profiler" like tool is also great... It grabs the bottle-necks from the code and advices where to update for speed ;-)



Norman.
-- (define? (Cornflakes))

rickyboy

#16
Hey Norman!



Here is a good idea for a project for the competition: http://www.alh.net/newlisp/phpbb/viewtopic.php?t=1612">//http://www.alh.net/newlisp/phpbb/viewtopic.php?t=1612.  :-)



The GUI front-end can be coded using the new guiserver.
(λx. x x) (λx. x x)

newdep

#17
Haha..yes yes newlispRobot is still in progress but im currently at a dead-end..



The idea was to have somekind of a Virtual-Machine running where the robots

could be executed inside, but thats impossible at the moment...Which makes the

project a little more Client-dependent..



The project is still on my desktop :-)
-- (define? (Cornflakes))

cormullion

#18
So, is anyone going to enter this competition... ?! :-)



I hope that it's about to awake from summer hibernation (not characteristic of dragonflies, it's true, but holidays perhaps...)

cormullion

#19
I can't vote for anybody else, so I'll have to start by entering two of mine  and hope that encourages you lot! :-).



I'm going to enter them for the 'Not Very Lisp-y But Possibly Useful Category'.



-------

1: http://unbalanced-parentheses.nfshost.com/downloads/markdown-interactive.lsp.txt">Markdown-interactive.



This is based on the version of Markdown which I'm using to write entries for my site. It's a kind of testing setup which I'm using.



http://farm3.static.flickr.com/2316/2002362031_d4ec6bac94.jpg">



This is still a work-in-progress (I try to fix one bug every month :-)!



(Note that this file didn't seem to be processed correctly by syntax.cgi so it's a direct download link...)



-------

2: http://unbalanced-parentheses.nfshost.com/syntax.cgi?downloads/grepper.lsp.txt">RegexTester



In the same vein, I'm afraid, here's another testing thing I've used a lot. It's called RegexTester, or Grepper, or Tyrannosaurus Regex. Something.



http://farm3.static.flickr.com/2333/2002362049_23dc4370cd.jpg">



--------

Both these should work on all platforms, and they're obviously free and un-commercial.



Next time, I hope to have left regular expression hell behind, and moved on to more Lisp-y adventures...!



Countdown:


(println
  (format "%02dd %02dh %02dm %02ds"
    (letn
     ((t (- (parse-date {2007-12-29 23:59:59} {%Y-%m-%d %H:%M}) (date-value)))
      (d (% (/ t 86400) 86400))
      (h (% (/ t 3600) 24))
      (m (% (/ t 60) 60))
      (s (% t 60))
     )
    (list d h m s)
    )
  )
)


Edit: URL updated. If you want a painted version of markdown-interactive, go via the  http://unbalanced-parentheses.nfshost.com/index.cgi?download">main page. And I'm still working on this script off and on, so it doesn't always work... :-)

newdep

#20
Fantastic applications !!!  



Now lets see who will join in, (I will :-)



PS: I had troubles commenting on you Blog website! some html mixup error it seemed...
-- (define? (Cornflakes))

cormullion

#21
Sorry about the commenting. It ought to work, but sometimes doesn't...

newdep

#22
Another chear!

..you can jump what you want but I havnt seen many applications

this usefull around for years!!!.... I like the them both!! great job.. I hope

you keep them tuned ;-)
-- (define? (Cornflakes))

rickyboy

#23
Quote from: "cormullion"1: http://unbalanced-parentheses.nfshost.com/downloads/markdown-interactive.lsp">Markdown-interactive.



This is based on the version of Markdown which I'm using to write entries for my site. It's a kind of testing setup which I'm using.


I've written something similar to this, by re-writing Lutz's format-line function in the wiki.  I changed it to a bunch of transforms that act on the whole page, not line-by-line.  However, after looking at Pete's code, I may just have to purloin it, and use it instead of mine.



Actually I have started already.  Here is a picture of me getting ready to steal his code.



http://www.tektonics.org/hamburglar.gif">



I actually can't bring myself to steal anything, unless I put the outfit on.  :-)
(λx. x x) (λx. x x)

newdep

#24
I exactly know what you mean.. Ill take your advice when stealing code (although i never tent to do that this is a great workaround ..hahahah)
-- (define? (Cornflakes))

m35

#25
Quote from: "rickyboy"I actually can't bring myself to steal anything, unless I put the outfit on.  :-)

rofl that's the funniest thing I've seen all week XD

newdep

#26
Now i have a dilemma ;-)



I need to pick 2 files for the competition, not easy as there are some files/tools I like but perhpas others dont at all.

Difficult selection, for me, perhpas for you not at all. So i go for the most common divisor called "enjoyable tools" ;-)









So my First contribution is Pinballs, because of its hyphnotic infuence ;-)



(load "http://www.nodep.nl/downloads/newlisp/pinballs.lsp">//http://www.nodep.nl/downloads/newlisp/pinballs.lsp")

or can be found inside your newlisp distribution when using GS! ;-)



http://www.nodep.nl/downloads/newlisp/pinballs.png">







My second contribution is (although still in progress)

(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp">//http://www.nodep.nl/downloads/newlisp/nlist.lsp")





http://www.nodep.nl/downloads/newlisp/nlist.png">
-- (define? (Cornflakes))

cormullion

#27
Ah, the floodgates are opening... :-)

itistoday

#28
Quote from: "newdep"My second contribution is (although still in progress)

(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp">//http://www.nodep.nl/downloads/newlisp/nlist.lsp")


Wow, I just spent some time using that to go through the newLISP files on your server, they're amazing!  My favorite has to be worm.lsp!



Great job! :-D



And I love how you can load them just by using them as an argument to newlisp:


$ newlisp http://www.nodep.nl/downloads/newlisp/worm.lsp
Get your Objective newLISP groove on.

newdep

#29
http]")



We Enjoy ;-)
-- (define? (Cornflakes))