Search found 65 matches

by unixtechie
Wed Feb 06, 2013 7:36 pm
Forum: Whither newLISP?
Topic: How to get newLISP popular?
Replies: 11
Views: 12830

Re: How to get newLISP popular?

. Developing a portable, embedded social network device. Something like "Facebook to Go" using newLISPs networking functions, because I think the discussions about personal data and privacy will become more active. OK, one year ago I worked out in detail the design of a node that would do the follo...
by unixtechie
Mon Jan 02, 2012 3:20 pm
Forum: newLISP newS
Topic: Embed C or ASM in newLISP
Replies: 7
Views: 12992

Embed newlisp into a speed champion web server?

ah, 'tcc', a brilliant piece of software (by the author of QEMU emulator), which allows on-the-fly compilation and execution. There exists a whole web server based on tcc, which is number one in speed comparisons (pushing several hundred thousand responses per second), called G-WAN. The authors dist...
by unixtechie
Tue Dec 27, 2011 2:26 pm
Forum: newLISP in the real world
Topic: [wishlist] things I wish for newlisp for 2012
Replies: 9
Views: 4389

TCO trampolining and stuff

I have not thought about it, nor tested, so the link might be kind of irrelevant, but: here's what looks like a solution via closures (which are possible in newlisp): http://www.windley.com/archives/2008/11/tail_optimized_mutual_recursion_in_clojure.shtml and the original is here: http://groups.goog...
by unixtechie
Tue Dec 27, 2011 7:16 am
Forum: newLISP in the real world
Topic: [wishlist] things I wish for newlisp for 2012
Replies: 9
Views: 4389

New Year wishes for Newlisp

Well, here's my new year wish. I wish to crown the new libffi functionality with its application to the Zeromq messaging library (0MQ, zmq). The combination could open breathtaking opportunities for newlisp scripting, basically providing the core of Erlang functionality in 300k+300k+1.7M = Erlang in...
by unixtechie
Tue Dec 27, 2011 7:03 am
Forum: newLISP newS
Topic: newLISP development release v.10.3.9
Replies: 9
Views: 6671

Re: newLISP development release v.10.3.9

no, unfortunately the problem is still there. Opening Code Patterns and the Manual in any web browser and making a search in the page for "struct" as one word will show a number of uses in which "struct" is a var name, not a newlisp operator. It's not worth it to list the conflicts here, and probabl...
by unixtechie
Thu Nov 17, 2011 9:48 am
Forum: Whither newLISP?
Topic: Erlang-like OTP in newlisp??
Replies: 0
Views: 5315

Erlang-like OTP in newlisp??

Hello, newlispers. Have a question to you. I remember how much impressed I was after reading books by Armstrong and some other on the concepts implemented in Erlang. And even more impressive (than pure Erlang) is the idea of OTP, a generic framework for fail-proof distributed computing. Today with t...
by unixtechie
Tue Dec 07, 2010 7:29 pm
Forum: newLISP in the real world
Topic: C XML parser to newLisp
Replies: 3
Views: 2266

Re: C XML parser to newLisp

mm.. (a) newlisp can directly use functions from C libraries. If your parser can be compiled as a library, then the chances are it can be directly called from a newlisp script (b) newlisp includes some kind of XML parser already. I'd check first if these two roads are possible for your purposes, alt...
by unixtechie
Fri Feb 12, 2010 5:02 pm
Forum: newLISP newS
Topic: Lispeln - Newlisp fork.
Replies: 2
Views: 3269

Re: Lispeln - Newlisp fork.

1. wow 2. you almost caught him in the act: "registered 18 hours ago" 3. Lutz (and us, in case some crowd attention is needed) should review the man's actions: his fork is published as if existing under GNU Affero GPLv3, while the original is straight GPLv3 i.e. he relincensed it (and those are not ...
by unixtechie
Mon Dec 28, 2009 7:26 am
Forum: newLISP in the real world
Topic: Parsing Markup Tags. Code Optimization
Replies: 12
Views: 3822

No specifications still

still there is much talk "about" the issue, but no specifications. Tell using very short one-line examples what is input and what is the expected output - otherwise all talk is useless. Supposing you got this as input: <fieldset><legend><a href="javascript:;" onmousedown="toggleCombined('18');"> <fo...
by unixtechie
Sun Dec 27, 2009 10:23 am
Forum: newLISP in the real world
Topic: Parsing Markup Tags. Code Optimization
Replies: 12
Views: 3822

do not understand

do not understand at all what you are trying to do here. 1. If you need to separate tags from text, then: (a) "canonize" the text by adding "\n" (newline) after each ">" (b) consider each line in the substituted text your needed outcome. That's it. This is implemented with exactly 2 operators, "read...
by unixtechie
Fri Dec 04, 2009 4:00 pm
Forum: So, what can you actually DO with newLISP?
Topic: Literate programming renewed - and newlisp?
Replies: 6
Views: 4883

Re: Literate programming renewed - and newlisp?

Well, Kazimir, you sound as if it all is a big deal. It is not. Probably I myself am guilty: when I was writing the Molly script, I was too wordy (testing how various tricks would look in the output). I should probably cut documentation (part II) to 20% of what it is. Because using this stuff is inc...
by unixtechie
Thu Dec 03, 2009 6:42 am
Forum: So, what can you actually DO with newLISP?
Topic: Literate programming renewed - and newlisp?
Replies: 6
Views: 4883

It is not "documentation"

Kazimir, it is not "documentation" Let me give you another definition of "literate programming": 1. It is writing code from specifications in a human language It's not documentation that you produce. You begin programming by thinking of what a piece of code should do, then writing it down: loop over...
by unixtechie
Tue Dec 01, 2009 8:00 pm
Forum: So, what can you actually DO with newLISP?
Topic: Literate programming renewed - and newlisp?
Replies: 6
Views: 4883

Re: Literate programming renewed - and newlisp?

Yes, the terms "weaving" (producing formatted document from the Literate Source file) and "tangling" (producing source code to be run, if it is a script language, or compile) are standard in Literate Programming. If you'd like an overview, read a Wikipedia article (which, incidentally, was written b...
by unixtechie
Tue Dec 01, 2009 9:31 am
Forum: So, what can you actually DO with newLISP?
Topic: Literate programming renewed - and newlisp?
Replies: 6
Views: 4883

Literate programming renewed - and newlisp?

I posted this first as a response in a previous post by Kazimir about some newlisp project at github, but let me repost this question. So, regarding "projects in newlisp on Github": Could you please look at http://github.com/unixtechie/Literate-Molly/ This is a perl script for literate programming, ...
by unixtechie
Tue Dec 01, 2009 9:04 am
Forum: So, what can you actually DO with newLISP?
Topic: Nicholas E. May's Newlisp projects at Github.com
Replies: 1
Views: 2600

hmm.. Suggestion: literate programming tool in newlisp?

hmm.. It's great someone else discovered newlisp. One thing is there are literally hundreds if not thousands of editors, and it'll be some time before this one reaches functionality of the better-known ones. Even though this one is language-specific, and the others (like Vim I use, even "geany") are...
by unixtechie
Sun Oct 25, 2009 4:40 pm
Forum: Anything else we might add?
Topic: Newlisp advertised in a Russian blog - collects 338 comments
Replies: 5
Views: 4381

Newlisp advertised in a Russian blog - collects 338 comments

http://www.livejournal.com - Livejournal - plays a unique role in Russian-language blogosphere. As compared to large US blog services, where majority of users are teenagers (e.g. the US section of LJ averaged at 19 some time ago), the Russian LJ contains people of all ages and most popular book writ...
by unixtechie
Wed Oct 07, 2009 10:02 am
Forum: Whither newLISP?
Topic: C from newlisp?
Replies: 6
Views: 4510

C from newlisp?

I saw some quoted discussion in Kazimir's blog, and there's something maybe relevant to the wider topic of how to use C from scripting languages in general, including newlisp. There is an excellent open-source project called "tcc", a tiny C compiler. The binary is slightly over 100k (123 on my platf...
by unixtechie
Mon Oct 05, 2009 7:26 am
Forum: Whither newLISP?
Topic: newLISP compiler
Replies: 9
Views: 6421

Pico Lisp and Alexander Burger

There is another answer, given by Alexander Burger, the creator of another tiny fast micro-lisp, called "pico-lisp" (or picolisp); its home page is at http://www.software-lab.de (click on "download" ) In his paper called " Pico Lisp A Radical Approach to Application Development" (pdf is here: http:/...
by unixtechie
Tue Aug 18, 2009 6:15 pm
Forum: newLISP newS
Topic: Git repository with Newlisp history now available
Replies: 4
Views: 3815

Git is great

Oh, Git is great. It's fast too. And sort of generic - one can think of many uses, it behaves as a kind of "filesystem" you can control with command-line utilities. At one time I experimented with using Git as my back-end versioned storage for a p2p blogs system. I still believe it can be used like ...
by unixtechie
Mon Aug 17, 2009 6:04 am
Forum: newLISP newS
Topic: Git repository with Newlisp history now available
Replies: 4
Views: 3815

Thanks

Thanks.

Even if one does not hack the source, Git VC may help in tracking other, more user-side changes, such as changes in documentation between the versions, to track newlisp operator options/modifications etc.
by unixtechie
Fri Jul 03, 2009 8:56 pm
Forum: Anything else we might add?
Topic: OT: About the GPL
Replies: 2
Views: 3109

Here's the devil's advocate address for you. Enjoy ;))

The really interesting topic today that is related to GPL is the inclusion of Mono into a Linux distribution (Ubuntu). Richard Stallman warned of Greeks bearing gifts, and is being bashed by Microsofties and various accompanying softbrains In fact all issues with GPL are political in nature. 1. Copy...
by unixtechie
Thu Jul 02, 2009 5:41 am
Forum: Whither newLISP?
Topic: lazy iteration over strings in memory???
Replies: 7
Views: 5132

Lutz, thanks for the explanations. The "lazy" example from Perl will produce ONE, first match and stop. A second rerunning will produce the SECOND match and stop. And so on.. To get the "lazy" behaviour, the modifications of "find" and "regex" you suggested may be exactly what is needed (if internal...
by unixtechie
Wed Jul 01, 2009 2:41 pm
Forum: Whither newLISP?
Topic: lazy iteration over strings in memory???
Replies: 7
Views: 5132

to Kazimir, Lutz

Lutz: if I got it right, there is no way to call "replace", get the first match, then call the same invocation the second time and get the second match etc. - i.e. "replace" will provide ALL of the matches in a list, not one by one on demand. As far as I understand it, I'd need "find" and subindexin...
by unixtechie
Tue Jun 30, 2009 4:54 am
Forum: Whither newLISP?
Topic: lazy iteration over strings in memory???
Replies: 7
Views: 5132

lazy iteration over strings in memory???

Programming language operators are as a rule very inconsistent. Some return meaningful values, others exist for "side effects", some are greedy, others are lazy or can be made lazy etc. etc. Functionally aware languages,. such as lisps and newlisp in particular are great, they have nice uniformity. ...
by unixtechie
Tue Jun 30, 2009 4:40 am
Forum: Anything else we might add?
Topic: Problem in search of an elegant solution
Replies: 10
Views: 5959

implicit ordering of newlisp hashes

err.. if you stop keeping it all as lists, but create a hash with the first member as its key and the rest as a list it refers to, you could use the fact that red-black trees used for hashes in newlisp are implicitly ordered. Then iterating over them will give you a numerically growing sequence - an...