Search found 171 matches

by m35
Mon Dec 08, 2008 7:35 pm
Forum: Anything else we might add?
Topic: replace regular expressions
Replies: 10
Views: 9124

Jeremy Dunn started an interesting module to help make regex easier to read in newLISP.
by m35
Wed Dec 03, 2008 1:35 am
Forum: newLISP newS
Topic: The 9.4.0 newLISP manual
Replies: 68
Views: 35683

In bind for Manual v.9.4.5 rev-12

The line
"The return value of bind is the value of the last association."
is written twice.
by m35
Mon Dec 01, 2008 2:53 am
Forum: newLISP newS
Topic: jEdit syntax generator (v0.53)
Replies: 8
Views: 5116

Haha you're absolutely right Michael. newlispdoc devours the original code ||| <!-- NO_ESCAPE attribute removed for jEdit 4.3 --> ||| <SPAN TYPE="LITERAL2"> |||| <BEGIN><?[ (string "[text" "]") ]></BEGIN> |||| <END><?[ (string "[/text" "]") ]></END> ||| </SPAN> and the html is displayed like this. |...
by m35
Thu Nov 27, 2008 3:33 pm
Forum: newLISP newS
Topic: jEdit syntax generator (v0.53)
Replies: 8
Views: 5116

jEdit syntax generator (v0.53)

The jEdit syntax generator has been thoroughly updated. Because the syntax is generated, it can automatically add new symbols as newLISP is updated, and it will be perfectly tailored to your newLISP installation (Mac, Linux, Win, OS/2; ASCII, UTF8). http://www.newlisp.org/index.cgi?Code_Contribution...
by m35
Thu Nov 20, 2008 4:31 pm
Forum: newLISP newS
Topic: Context madness bugs?
Replies: 3
Views: 2580

Ah ok, thanks for the detailed explanations guys. I probably should have mentioned I was just trying to remove symbols out of contexts. Now that I understand better what's going on, I see I could have used workarounds. newLISP v.9.9.94 on Win32 IPv4, execute 'newlisp -h' for more info. > (setf FISH:...
by m35
Thu Nov 20, 2008 8:19 am
Forum: newLISP newS
Topic: Context madness bugs?
Replies: 3
Views: 2580

Context madness bugs?

newLISP v.9.9.94 on Win32 IPv4, execute 'newlisp -h' for more info. > (setq FISH:test 10) 10 > (delete FISH) true > (setq FISH:test 20) ERR: context expected in function setf : FISH Can you only create a context that way once? Also note the "setf" in the error. newLISP v.9.9.94 on Win32 IPv4, execu...
by m35
Thu Nov 20, 2008 1:20 am
Forum: So, what can you actually DO with newLISP?
Topic: joe editor -> newlisp.jsf generator
Replies: 10
Views: 6897

Ah newdep! I know my approach wasn't every elegant, but you should warn people before shaming their code to oblivion :)

The (dump)ing of the symbols solves so many problems with preserving the namespace, I'm going to have to follow your superior approach.
by m35
Tue Nov 18, 2008 9:21 pm
Forum: newLISP newS
Topic: The newLISP Fan Club has a Wiki!
Replies: 19
Views: 11980

Just offhand I think it's due to the new functionality of $idx working in (map) function. When I initially wrote it, I avoided using (dolist) for specifically this reason. In any case, Lutz already uploaded a slightly updated version of the script on newlisp.org. I'm also going to take a closer look...
by m35
Mon Nov 17, 2008 9:43 pm
Forum: newLISP newS
Topic: The newLISP Fan Club has a Wiki!
Replies: 19
Views: 11980

I can host it here: http://www.newlisp.org/index.cgi?Code_Contributions its currently linked to the wiki, but I could copy it over, if it works on the latest development version of newLISP and works on jEdit. Thanks Lutz. I'll clean it up and test it with the latest and send it to you when I have t...
by m35
Mon Nov 17, 2008 7:04 pm
Forum: newLISP newS
Topic: The newLISP Fan Club has a Wiki!
Replies: 19
Views: 11980

I used the wiki to host the jEdit newLISP syntax generator because I don't have any particular place to publish such a script. I still use jEdit for any serious newLISP writing so I have a vested interest in ensuring it's updated, but a wiki lets others easily fix errors and upgrade it to new versio...
by m35
Mon Nov 17, 2008 5:47 pm
Forum: newLISP newS
Topic: head logo for ww.newlisp.org
Replies: 35
Views: 13455

Lutz wrote:How about these:
...
:-)
Hmm, that makes me want to see a random motto from the 101 motto thread every time I load the page :)
by m35
Wed Oct 29, 2008 5:06 pm
Forum: Anything else we might add?
Topic: Lisp is no longer vegetarian.
Replies: 5
Views: 4856

A NSFW warning please ;_;
by m35
Wed Oct 29, 2008 4:48 pm
Forum: newLISP newS
Topic: development release newLISP v.9.9.91
Replies: 8
Views: 4195

newdep wrote:"我能吞下玻璃而不伤身体。"
"I can swallow down the glass not to burst oneself the body."

o.O
by m35
Fri Oct 17, 2008 4:42 am
Forum: newLISP and the O.S.
Topic: couple simple windows questions
Replies: 6
Views: 4990

Ahh, I see. I'm not sure where you are selecting the "Create a Shortcut". One possible way is to do something similar to what this link describes http://cyberst0rm.blogspot.com/2007/11/how-to-create-quick-shutdown-shortcut.html You can right-click and select "New->Shortcut" on the desktop, or in any...
by m35
Thu Oct 16, 2008 5:13 pm
Forum: newLISP and the O.S.
Topic: couple simple windows questions
Replies: 6
Views: 4990

Re: couple simple windows questions

what's the easiest, most direct way to start newlisp as a webserver on windows? I got it working, but it wasn't so easy or direct. What is the easiest most direct way to do it on Linux? On both Windows and Linux I just open a terminal window and cd to a directory then run the newlisp command to sta...
by m35
Tue Oct 07, 2008 5:00 pm
Forum: newLISP newS
Topic: New edition of ORO Memory Management document
Replies: 1
Views: 1738

Very nice Lutz. Memory management theories and approaches are topics relevant to my interests. Quick typo noticed "Nevertheless, to achieve maximum performance, newLISP has optimized the behavior or many built-in functions by allowing for reference return and allowing other destructive built-in func...
by m35
Thu Oct 02, 2008 5:17 pm
Forum: newLISP and the O.S.
Topic: scripts in windows
Replies: 2
Views: 3350

I'm going to venture a guess that you're fairly new to the Microsoft Windows OS. ;) Windows doesn't use the first line of text files to determine the executable that should be run with the script as an argument. But like Linux-like OSs, you can run the script the straight-forward way using the comma...
by m35
Fri Aug 29, 2008 3:57 am
Forum: newLISP and the O.S.
Topic: Write to file without changin Date modified
Replies: 11
Views: 8048

hsmyers wrote:INT 21 Function
You can still do that? O_O

Wow...

But shouldn't there be POSIX functions that can modify a file's Last Modified date? I suppose that would be the most cross-platform approach.
by m35
Fri Aug 29, 2008 1:41 am
Forum: newLISP and the O.S.
Topic: Write to file without changin Date modified
Replies: 11
Views: 8048

If your target is Windows, you could also wield the win32api directly through (import).

Here is a page showing what win32api functions do what (written in Visual Basic).

http://vbnet.mvps.org/code/fileapi/filedatetime.htm
by m35
Fri Jul 25, 2008 7:48 pm
Forum: newLISP and the O.S.
Topic: How to setup a callback function?
Replies: 20
Views: 20550

When you call a C++ instance method, it secretly passes the pointer to the class instance as the first argument. class cls { @public: // like declaring static void callme(cls *this, int i); void callme(int i); }; int main() { cls c; c.callme(10); // actually becomes callme(&c, 10); } I may have some...
by m35
Fri Jul 25, 2008 3:58 pm
Forum: newLISP and the O.S.
Topic: How to setup a callback function?
Replies: 20
Views: 20550

type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Edit1 : TEdit; Button3: TButton; Edit2: TEdit; Button4: TButton; Edit3: TEdit; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject); procedure Button3Click(Sender: TObject); procedure Button4Click(Sender: TOb...
by m35
Sat Jul 19, 2008 6:13 pm
Forum: newLISP and the O.S.
Topic: COM in newLISP
Replies: 25
Views: 21898

winscript v0.22

-Minor documentation improvements.
-Added check at initialization if already initialized.
-Fixed error handling when the error doesn't come from the script control.
-Lots of internal cleaning and commenting.

winscript.lsp
by m35
Thu Jul 17, 2008 4:33 pm
Forum: newLISP and the O.S.
Topic: How to setup a callback function?
Replies: 20
Views: 20550

I assume you can get the pointer to the function, right? So once you have the pointer, you should be able to pass it as an integer to the newLISP.dll. Then using a bit of hackery you can convert that integer to a newLISP function. ; Function to convert a pointer to a function (define (ptr-to-fn ptr ...
by m35
Tue Jun 10, 2008 5:04 am
Forum: newLISP newS
Topic: The 9.4.0 newLISP manual
Replies: 68
Views: 35683

Pointed this out before. Maybe it was missed, or not really important.

The description for read-line doesn't explicitly mentioned that it will ever return nil (although the example suggests that it will).
by m35
Fri May 30, 2008 4:05 pm
Forum: Anything else we might add?
Topic: Off topic: What web hosting do you like/recommend?
Replies: 23
Views: 17499

And BTW, I love some of our off-topic conversations. If Whatever Else isn't a good enough category for this sort of thing, then I'll make one up! I like that we have a Windows and *nix sections, but there are many topics/questions that are cross-platform. I've never really felt that the "Whatever E...