Search found 294 matches

by eddier
Fri Jun 12, 2009 12:34 pm
Forum: newLISP in the real world
Topic: calendar program
Replies: 4
Views: 761

Well, I'm glad someone got some use from it :)

The error *is* probably a permissions error.

Eddie
by eddier
Thu Jun 11, 2009 7:13 pm
Forum: newLISP in the real world
Topic: calendar program
Replies: 4
Views: 761

Thanks Lutz.

Wow, I thought it would take more changes than that. I need to make some modifications for security reasons.
If it works for you, I can put it on as a demo again.
Sure, you may use it or modify it for whatever purpose you wish.

Eddie[/quote]
by eddier
Thu Jun 11, 2009 5:24 pm
Forum: newLISP in the real world
Topic: calendar program
Replies: 4
Views: 761

calendar program

Hello Lutz.

I once wrote a web calendar program an posted it on newlisp. I figured you had updated it so that it would run with newer versions of newlisp. I was wondering if you have an updated version? I need to modify it so that it will run on one of our httpd servers on a specified port.

Eddie
by eddier
Thu Jul 06, 2006 5:55 pm
Forum: Anything else we might add?
Topic: Fun with MAP
Replies: 23
Views: 12437

You might want to implement filter-map as well. There are a bunch of nice functions in the SRFI libraries like append-map and one that I was using quite often when collecting data for calculations. Note that I just copied this documentation from the DrScheme help desk. filter-map f clist1 clist2 ......
by eddier
Wed Jun 28, 2006 2:13 pm
Forum: Anything else we might add?
Topic: member and strings in 8.9
Replies: 13
Views: 4275

Hi cormullion. This is really a tough one in one sense, because NL doesn't have a character data type that would be an element of a string (list or array of characters). Membership should only be used to test to see if a character is in a string. We should be able to almost treat "" as {}. Of course...
by eddier
Wed Jun 28, 2006 1:16 pm
Forum: Anything else we might add?
Topic: member and strings in 8.9
Replies: 13
Views: 4275

As a mathematician I can definitely say two things are being confused here. substring should act like subset in sets, i.e. {a} is a subset of {a,b}. Also, {} is a subset of every set. member should act like set membership, i.e. a is a member of {a,b}. However, {a} is not a member of {a,b} and neithe...
by eddier
Thu Jan 26, 2006 1:59 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Hi Nigel, Looks great! Strange that it lost the table of contents. commenting out \usepackage[T1]{fontenc} caused lots of error regarding \textquotedbl commenting out \usepackage{amsmath,amssymb,amsfonts,textcomp} causes errors re \textquotesingle. I'm not sure why they do it that way? Maybe to avoi...
by eddier
Thu Jan 26, 2006 1:14 am
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

I don't see any problems except that it is not loading the newcentury fonts. You can kill the \usepackage[ascii]{inputenc} and \usepackage[T1]{fontenc} if you wish. I even doubt wether you need the \usepackage{amsmath,amssymb,amsfonts,textcomp} since I don't think there's probably any serious math s...
by eddier
Wed Jan 25, 2006 5:34 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

If you can, show all of the stuff between \documentclass{.... and \begin{document}. Another suggestion is the ordering of the packages: try putting \usepackage{newcent} as the last package before \begin{document}

Eddie
by eddier
Wed Jan 25, 2006 1:37 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Will Nigel's solution work Lutz? If it does I would like to make one suggestion. In the .tex file on the very next line after the \documentclass{article or whatever } put \usepackage{newcent} This will make the fonts much cleaner and enable you to copy and paste text from the manual (if you click th...
by eddier
Mon Jan 23, 2006 11:22 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Editing a text file would be fine, as long as everything we do is with standard tools. I do not want add new dependencies, incompatibilities etc.. The current method using HTML and OpenOffcie at least works on all platforms. We will do it but is has to be simple. By all means! The standard tools wo...
by eddier
Mon Jan 23, 2006 5:49 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Actually, what I was thinking: create a file called manual.txt. Run the script ./doc.lsp quickref.txt The output would be 3 files: "manual.html," "manual.pdf," and "qref.pdf." This might actually take a bit more thought? We would just use short commands in manual.txt .h 0 Introduction .p this is a p...
by eddier
Mon Jan 23, 2006 5:34 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Are you using OSX?

If you are using Linux, the PDF and HTML files generated by the script would be portable across all platforms.

Eddie
by eddier
Mon Jan 23, 2006 4:26 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Actually a script to generate both the HTML version and a PDF file is what I would prefer doing. I'm doing something similar to this for the Factbook I generate here at the College. If I make this script, could we possibly generate two PDF documents instead of one (One for the main document and the ...
by eddier
Mon Jan 23, 2006 2:35 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Nigel, I somewhat cheat on this. There is generally a package of macros to do about anything you want in LaTeX. I don't write that many macros (depends on the project). I just \usepackage{whatever} and use the commands from the manual provided. I also use LyX many times to get the main content in an...
by eddier
Thu Jan 19, 2006 3:47 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

I should be able to do it over the weekend.

Eddie
by eddier
Thu Jan 19, 2006 1:09 pm
Forum: newLISP newS
Topic: development version newLISP 8.7.
Replies: 34
Views: 17355

Lutz,

I would be glad to generate the documentation from LaTeX. I've been using LaTeX for quite some time now and the PDF links and such are no problem at all.

I could generate a copy by next week and e-mail it to you to look at and see if you like it?

Eddie
by eddier
Mon Jan 16, 2006 3:02 pm
Forum: Anything else we might add?
Topic: Scheme: reduce & filter (please rate).
Replies: 9
Views: 4715

The "srfi" are standard libraries for scheme. For instance "1" is for extra list functionality. For example, (require (lib "string.ss" "srfi" "13")) will load a bunch of string functionality. Below are libraries included with mzscheme (drscheme). SRFI-1 list.ss 1 SRFI-2 and-let.ss 2 SRFI-4(*1) 4.ss ...
by eddier
Fri Jan 13, 2006 2:08 pm
Forum: Anything else we might add?
Topic: Scheme: reduce & filter (please rate).
Replies: 9
Views: 4715

netytan, Make sure at the top of the source you use all of (require (lib "list.ss" "srfi" "1")) because (require (lib "list.ss")) is a different package! I was a bit confussed the first time trying to include the functionality to. I found the code to reduce and reduce-right in the file "fold.ss" und...
by eddier
Thu Jan 12, 2006 1:54 pm
Forum: Anything else we might add?
Topic: Scheme: reduce & filter (please rate).
Replies: 9
Views: 4715

That is one gripe I have against scheme and what I do like about newLISP, the looonnnnggg definition names. For example, (string-append , (string-drop-right ,or (call-with-input-file , etc... It gets hard to read a long line strung out with intervening spaces, words, and white space. To make it read...
by eddier
Thu Jan 12, 2006 1:38 pm
Forum: newLISP newS
Topic: Where is 8.8
Replies: 2
Views: 1767

Am I dunce? YES I AM. Sorry didn't see the February. I'm going to have to slow down at work and read a little more clearly.

Eddie
by eddier
Wed Jan 11, 2006 9:18 pm
Forum: newLISP newS
Topic: Where is 8.8
Replies: 2
Views: 1767

Where is 8.8

Lutz,

I see "next release version 8.8 February 10th, 2006" on the main Web page but I see not the download?

Eddie
by eddier
Wed Jan 11, 2006 8:56 pm
Forum: Anything else we might add?
Topic: Scheme: reduce & filter (please rate).
Replies: 9
Views: 4715

If you are using drscheme, you can look into collects folder and find the scheme source code for filter, reduce, fold, foldr, unfold, zip, filter-map, etc,... When you get ready to write some serious code, I would use the libraries provided instead of rewriting them all. For Instance, (require (lib ...
by eddier
Tue Dec 06, 2005 8:45 pm
Forum: Anything else we might add?
Topic: Return multiple values from a function.
Replies: 16
Views: 6060

Since the digits are reverse order, try and change the order of the (if statements below the (cons

Code: Select all

  (cons
    (if (= number 1)
      ()
    (positive-binary
...
Just a guess! There is also a xcons (reverse cons) function in the "srfi 1" library.

Eddie
by eddier
Fri Nov 18, 2005 10:38 pm
Forum: newLISP in the real world
Topic: error with implicit indexing of strings
Replies: 1
Views: 1420

error with implicit indexing of strings

Code: Select all

(1 "ab") => "b"  ;Correct
(1 "a") => "a"  ;Incorrect
(rest "a") => ""
Eddie