Search found 171 matches

by m35
Tue Sep 01, 2009 10:59 pm
Forum: newLISP and the O.S.
Topic: Network drive I/O error on windows Xp
Replies: 3
Views: 3091

I'm not able to find any errors with copy-file or delete-file on a mapped network drive. Are you sure your permissions are correct? I did however find another bug. newLISP v.10.1.4 on Win32 IPv4, execute 'newlisp -h' for more info. > (write-file "test" "") 0 > (copy-file "test" "again") ERR: I/O err...
by m35
Mon Aug 31, 2009 10:25 pm
Forum: Whither newLISP?
Topic: Is a lisp with only functional parentheses possible?
Replies: 33
Views: 19165

Elica, I would reward you with an Internet for your comment if I could.


I just did a bit of searching and ran across Sweet-expressions. I would be fascinated to see the newLISP's API wieldable with syntax used in more imperative languages.
by m35
Fri Aug 14, 2009 6:01 pm
Forum: So, what can you actually DO with newLISP?
Topic: web.lsp 0.3
Replies: 6
Views: 4753

Hey Jeff, very nice, but should this be set?

Code: Select all

  (dolist (idx '($0 $1 $2 $3 $4 $5 $6 $7 $8 $9))
    (setf idx nil))
    ;   ^ set?
by m35
Thu Jul 16, 2009 4:56 pm
Forum: Dragonfly
Topic: Dragonfly - a web framework for newLISP
Replies: 74
Views: 54497

Hello @m35, but are you referring to me when you say "Fans of a certain web site that would humorously respond to weekly emails" ?! Ah no sorry ale870 . I was making a (perhaps too obscure) reference to a bit of internet culture/humor. cormullion seems to have picked up on it and provided an inform...
by m35
Wed Jul 15, 2009 6:41 pm
Forum: Dragonfly
Topic: Dragonfly - a web framework for newLISP
Replies: 74
Views: 54497

A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly". See here: http://www.opera.com/dragonfly/ You could have problems from Opera company... since because they are in a similar working area: web... I think the name "Dragonfly web framework" shou...
by m35
Thu Jun 25, 2009 1:04 am
Forum: newLISP newS
Topic: Release newLISP v.10.1.0
Replies: 13
Views: 7334

Oh I see the problem. You should be using the -m35 flag.

;D

Ok, I'm done, carry on.
by m35
Thu Jun 25, 2009 1:01 am
Forum: newLISP and the O.S.
Topic: (copy-file FileTime info - (FixFileTime workaround
Replies: 6
Views: 4383

Re: _utime, _wutime are also possibilities

did not want to have to worry if the target system had a copy of MSVCRT.LIB or not. Without "kernel32.DLL" windows it would be dead, I know it is present and its version :) If I'm not mistaken, newLISP needs msvcrt.dll to run on Windows. In any case, I was just thinking if Lutz wanted to add these ...
by m35
Wed Jun 24, 2009 4:53 pm
Forum: newLISP and the O.S.
Topic: (copy-file FileTime info - (FixFileTime workaround
Replies: 6
Views: 4383

I recall seeing a similar question some time ago. It seems the POSIX function to do this is utime. Information about the Windows version can be found here. I assume this function can be imported from msvcrt.dll.
by m35
Fri Jun 05, 2009 6:26 pm
Forum: newLISP in the real world
Topic: (int) expression must start with a digit?
Replies: 2
Views: 1347

Cool, thank Lutz :D
by m35
Fri Jun 05, 2009 5:33 pm
Forum: newLISP in the real world
Topic: (int) expression must start with a digit?
Replies: 2
Views: 1347

(int) expression must start with a digit?

I see in the manual these examples for the (int) function. (int "1111" 0 2) → 15 ; base 2 conversion (int "0FF" 0 16) → 255 ; base 16 conversion Trying some of my own variations: > (int "ff") nil > (int "0xff") 255 > (int "0ff") 0 > (int "ff" 'err 16) err > (int "0xff" 'err 16) 255 > (int "0ff" 'err...
by m35
Thu May 14, 2009 5:43 pm
Forum: newLISP newS
Topic: Contexts/namespaces naming in modules
Replies: 7
Views: 5019

I know there's been a lot of talk about contexts and possible identifier collisions recently. I've been wondering if we shouldn't start a more unique naming convention: (context 'org.newlisp.cv) (context 'org.newlisp.crypto) (context 'org.newlisp.ps) (context 'org.newlisp.stat) (context 'org.newlisp...
by m35
Wed May 13, 2009 6:53 pm
Forum: newLISP newS
Topic: PostgreSQL module for newLISP
Replies: 9
Views: 5388

I ran a quick test of postgres.lsp. The Turnkey PostgreSQL Appliance is installed in a VMware machine which I connect to using PostgreSQL 8.3 on WinXP Pro SP3. I have a large table with 27 million rows of data. My first query was just "SELECT * FROM...", which did lots of processing and disk reading...
by m35
Tue May 12, 2009 7:33 pm
Forum: newLISP newS
Topic: PostgreSQL module for newLISP
Replies: 9
Views: 5388

For Windows XP, the installer I used put everything here by default
C:\Program Files\PostgreSQL\8.3\bin
Of course the version may vary.

I haven't actually used the module on Windows yet (and I may end up not needing to), but if I do I'll report back.
by m35
Mon May 11, 2009 5:37 pm
Forum: Whither newLISP?
Topic: newLISP coding form
Replies: 13
Views: 8117

The number two thing I like about newLISP (first being the fact it takes no effort to install and start using) is that the community doesn't care how you write your parenthesizes. Do what works best for you and enjoy :D
by m35
Thu Apr 09, 2009 5:35 pm
Forum: newLISP and the O.S.
Topic: interface to CScript.EXE (VBScript)
Replies: 2
Views: 3008

Good to see you're exploring and trying new things. You might also be interested in this. ;)
by m35
Mon Apr 06, 2009 6:14 pm
Forum: newLISP and the O.S.
Topic: Loading newLISP.dll in Google SketchUp 7 Ruby problem
Replies: 10
Views: 7209

This is some neat stuff HPW. I use a little SU, although I try to keep Blender as my primary tool (all my scripts are in Blender). If SU ends up playing a bigger role, I may be back to see how this pans out. :)
by m35
Mon Mar 30, 2009 6:01 pm
Forum: newLISP newS
Topic: promoting newLISP on USENET
Replies: 17
Views: 11240

...wanted a dialect-specific newsgroup where I could discuss the issue and have a high probability of getting feedback specifically from newLISP users. Have you considered pursuing scripting language related newsgroups? We know there is some bitter opposition to having newLISP related at all to its...
by m35
Fri Mar 27, 2009 7:41 pm
Forum: newLISP newS
Topic: promoting newLISP on USENET
Replies: 17
Views: 11240

I've got to hand it to you DekuDekuplex (Benjamin) for dealing with such volatile environments to promote this small but convenient language.

I sometimes delve into such environments, but that's mostly to chuckle at the usual absurdity of it all. ;)
by m35
Tue Mar 10, 2009 10:42 pm
Forum: newLISP newS
Topic: Local symbols are not deleted outside of their scope.
Replies: 5
Views: 3447

When I was first getting used to newlisp, I wanted it to throw an error if I used a symbol that had never been assigned a value (like Python). I even hacked a bit at the source, but wasn't able to find any easy way. Changing this behavior would probably be a major change to the system, requiring var...
by m35
Thu Feb 12, 2009 2:50 am
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 10665

ok, real question. windows does not Do utf-8? It depends on what you mean by "do". The core Windows API will only accept 1-byte-per-character strings that are localized with the current locale, or UTF-16 strings (as far as I know). But the Windows API also provides the MultiByteToWideChar and WideC...
by m35
Wed Feb 11, 2009 8:34 pm
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 10665

I haven't looked at the declarations of the AutoIt3 dll functions, but do the "LPCSTR" "LPWSTR" "LPCWSTR" mean that they have different versions of functions can accept ANSI (LPC), or UTF-16 (LPW) or ?? (LPCW?)? Assuming that, obviously the ANSI versions are no problem. For the UTF-16 versions, you'...
by m35
Sun Jan 04, 2009 9:47 am
Forum: newLISP newS
Topic: jEdit syntax generator (v0.53)
Replies: 8
Views: 5097

v0.53
- Additional fix to digit regex
by m35
Mon Dec 15, 2008 11:01 pm
Forum: newLISP newS
Topic: jEdit syntax generator (v0.53)
Replies: 8
Views: 5097

v0.51
- simplified newlispdoc highlighting
- added platform specific symbols

v0.52
- added missing '@link'
- fixed digit regex
- added generator version note to generated file

Note that a recent Java update for Mac OS X has broken jEdit v4.3pre*. There is a fairly simple workaround posted here.
by m35
Wed Dec 10, 2008 9:51 pm
Forum: newLISP newS
Topic: (read-line) non blocking
Replies: 7
Views: 4156

This url led me to this promising thread ;) I once tried playing with Windows stream read blocking and IPC in newLISP, but eventually changed my approach and language for various reasons. You will probably have to utilize Win32 API functions, but I can't help beyond that. I haven't seen much discus...
by m35
Wed Dec 10, 2008 12:30 am
Forum: newLISP and the O.S.
Topic: newLisp multi thread in Windows
Replies: 8
Views: 5575

I don't think it's possible to do Windows multi-threading in newLISP. If I understand Windows multi-threading correctly, newLISP would have to start a newLISP evaluator in every thread. Of course that's not how newLISP is currently designed. You could try, from newLISP code, to call Win32 API comman...