in general I would be careful with 'cd' and 'chdir', as it modifies
> the working directory of the whole process. For example, "a" and "b"
> above will not be found (as the directory is new), and you must use
> "../../a" or something like that.
>
> Better is usually to call
>
>(let Dir "/new/dir/"
> (call 'mkdir "-p" Dir)
> (out (pack Dir "newfile") (in "a" ...)) )
thats probably exactly what I wanted, thanks.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
de solutions now, without index and other
stuff). Upper limit for Amazon is ca. 870pages or so.
The docs would be some 370p right now, function reference & rosettacode
would be a second volume with ca 640pages.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
"/home/my/folder/libR.so" "sqrt" 'S 4)
| -> NIL
`
Might the [1] in '[1] 4' be the culprit, that is always returned, no
matter whats the actual argument/result?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
ions a bit similar to the CLOS system
(dispatching on all arguments). Can these functions be called via
'native'?
4. I guess for operators like '+' (1 + 2) there must be a
function call like this somewhere +(1,2) that must be used by 'native'?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
hat is the exact format of arguments and return values? Who "owns" the
> data, i.e. is it necessary to allocate and free memory, or do the
> library functions return pointers to static memory etc.
Thanks for the help
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
cific, but maybe somebody has some experience
in this field and doesn't mind to share it.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
rying to avoid any billing with the individual customers, just with the
provider of the GMS service.
> Seems like a little-hassle, no-strings-attached way to me. No need to
> fiddle
> with actual GSM hardware.
I'm just collecting information right now, since I never dealt with this
topic. Thanks for your tips.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
omething similar to Twillio
> - http://aws.amazon.com/sns/
its still beta, but looks really nice.
Thanks for the tips
> On Fri, Aug 17, 2012 at 6:03 AM, dexen deVries
> wrote:
>
> Hi Thorsten,
>
>
>
> On Friday 17 of August 2012 11:47:55 you
Jakob Eriksson writes:
> On August 17, 2012 at 11:47 AM Thorsten Jolitz
> wrote:
>
>>
>> Hi List,
>>
>> just one curiosity - how would one write a PicoLisp application that
>> recieves and processes (and maybe sends) SMS messages?
>
>
> It depend
uch as Mosms in other countries as
> well.
exactly what I'm looking, have to find a company like this in Germany.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
u want to avoid the cost of a middleman like mosms.
that would definitely be overkill for my needs - I would want to deal
only with processing an storing the SMS content with PicoLisp, and leave
all the rest to a specialised company.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
patch or pull request.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
https://github.com/tj64/picolisp-works
>> `---
>>
>> ,
>> | PicoLisp by Example
>> | http://www.scribd.com/doc/103733857/PicoLisp-by-Example
>> | https://github.com/tj64/picolisp-by-example
>> `---
icoquestions
`-
its not a faq, but one of the technical questions
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
from "TODO" [2012-08-26 So 00:24]
|:END:
| [2012-08-26 So 00:24]
|
| * DONE Version 1.0
| CLOSED: [2012-08-26 So 00:19]
| :LOGBOOK:
| - State "DONE" from "" [2012-08-26 So 00:19]
| :END:
|[2012-08-23 Do 23:45]
`
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
work with the PicoLisp-Wiki,
since due to its dynamic nature (are there really 'files' involved?) it
might be a 'special case'.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Thorsten Jolitz
writes:
> *Request for comments/help*:
> The most important feature to make this mode *really* useful does
> probably already exist, but needs to be figured out and described:
> remotely access the PicoLisp-Wiki from within Emacs, probably using
> *Tramp*, (add
in mailing-list
|CLOSED: [2012-09-05 Mi 20:30]
|:LOGBOOK:
|- State "DONE" from "TODO" [2012-09-05 Mi 20:30]
|:END:
|[2012-08-26 So 03:07]
| ** DONE change version number and date in svmono.cls
|CLOSED: [2012-09-05 Mi 20:15]
|:LOGBOOK:
|- State "DONE" from "TODO" [2012-09-05 Mi 20:15]
|:END:
| [2012-08-26 So 01:11]
| ** DONE replace download on github
|CLOSED: [2012-09-05 Mi 20:20]
|:LOGBOOK:
|- State "DONE" from "TODO" [2012-09-05 Mi 20:20]
|:END:
| [2012-08-26 So 01:11]
| ** DONE replace pdf on scribd
|CLOSED: [2012-09-05 Mi 20:30]
|:LOGBOOK:
|- State "DONE" from "TODO" [2012-09-05 Mi 20:30]
|:END:
| [2012-08-26 So 01:11]
`-
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
#x27;status quo' of this topic - is full PicoLisp
running on Android, have there been any real Apps implemented in
PicoLisp by somebody?
If so - are there any cons of using PicoLisp instead of Java to be
considered?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
ing clients)
might not care about the underlying technology?
> On Tue, Oct 9, 2012 at 1:06 PM, Thorsten Jolitz
> wrote:
>> Doug Snead
>> writes:
>>
>> Hi Joe and Doug,
>>
>> I read up your conversations about PicoLisp on Android in the mailing
>> li
)))
`---
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
d for
'self-insertion''?
Would Emacs-like key-chords be possible? E.g. 'C-x u', i.e. type first
'x' and then 'u', using 'C-x' as a kind of prefix that can be
combined with e.g. [a-zA-Z0-9].
PS
BTW - where are Ctrl-d and Ctrl-c defined? Could they be redefined to
something else in one single place?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
gt; BTW - where are Ctrl-d and Ctrl-c defined? Could they be redefined to
>> something else in one single place?
>
> No, they are ASCII values. In general, a control character is the
> corresponding uppercase character minus 64. For example, Ctrl-A is 1,
> Ctrl-B is 2, Ctrl-C is
possible to create picolisp bindings for
> it? That would perhaps save a lot of development work. As used in
> bash, it also handles the meta key in the emacs way.
I wasn't aware of that library, but it sounds very promising - I will
check it out. Thanks for the tip!
--
cheers,
Tho
Alexander Burger writes:
Hi Alex,
>> my idea is to add an Emacs-like command line to PicoLisp. I thought this
>
> Good idea :)
thanks for all the info, that gives me something to start with. More
questions later (probably).
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picol
> period (e.g. with (key 200)) for further keys to arrive.
could you give a little example how this would look like, e.g. if I want
to define the Emacs binding 'C-x u' ('-x u'), i.e. press C-x first
(as a prefix) and then u?
> Yes. Exiting upon Ctrl-D is explicitly coded into the line editor. So
> any other key (or none at all) might be used.
I redefined D to Q, that was easy.
(What about C - where is that defined?)
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Thorsten Jolitz
writes:
> but in the web I still did not find a list of all the keys like "kf1"
> and "kf2" that 'tput' knows about - where can I look them up? I would
> e.g. need to know how to adress the Alt key - "kalt"? I guess not...
ok,
Hi List,
I hope I did not overlook the obvious, but I (think I) searched all
relevant files in the picolisp directory but did not find the place
where term.l is loaded - where does this happen?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
;
> Examples are "rcsim/main.l" or "games/mine.l".
I see, its not an essential part of the system. Thanks.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
whats the difference between 'g' and 'p'/'P' in vi mode? at the
moment I use simply C-y for pasting instead of 'P'.
May the Emacs users can have a look at epil/eled and discuss/improve
keybindings and functionality. Next (and last step) will be '
an entirely different topic- maybe you could expand a bit on
the possible use-cases of your pilreader?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
pro's and
con's of using r-syntax for converting Org-mode syntax-elements into
lists following your example
,
| ;Change the syntax for comma to mean enclosing two items in a list.
| (r-syntax "," (
Thorsten Jolitz
writes:
> 2. I asked about using the meta-key and received the following answer:
>
>,
>| I would just hardcode M-x == x (the sequence of two characters
>| \033 and x). This way, even
Thorsten Jolitz
writes:
> And the M-bindings don't work in an xterm, at least in my case, but
> thats maybe only a xterm configuration issue?
It was an xterm configuration issue - inserting
,-
| xterm*metaSendsEscape: true
`---
x27;edit.l', and simply
insert conditional statements in the startscripts and the functions that
load the libraries? I.e., add 'eled.l' and 'eedit.l' to the PicoLisp
distribution, and offer the 'epil' shell-command too?
For development, at the moment I rather prefer to have 'epil' separated
from standard PicoLisp, so I can mess up things ;)
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
to make a PicoLisp REPL editable with Emacs keybindings, but what about
xterm? Is there a way to navigate/copy PicoLisp REPL output without
using the mouse?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
#fun) explains many ways (and
tricks) how to define function args, but '(de vi ("X" C) ...)' looks to
me like a list of two parameters - why can it be called with 0 to 2
parameters (apparently)?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
verlook that. Thanks.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
some time ago, and its nice to have that in PicoLisp too!
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
cle, maybe you want to double
check that there are no errors and then delete them?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
t/middle mouse button in an X11 session
Is this functionality missing in PicoLisp?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
eyboard, with the same keybindings like Emacs. So I almost forget that
I'm not in Emacs all the time when doing some copy&paste between Emacs
and Conkeror. The same 'feeling' would be nice when changing between
Emacs and the PicoLisp REPL.
Would that be hard to implement?
--
c
equest, its definitely not high
priority.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi Alex,
in the newest testing version on 64bit Archlinux PicoLisp terminates
when I call (env) without args. A bug?
,---
| : (env)
| Speicherzugriffsfehler
| $
`---
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject
Alexander Burger writes:
Hi Alex,
> I fixed it, and uploaded a new testing version.
hmm... I just downloaded the new (??) version and it still crashes when
I type (env) directly after start-up ...
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
/picolisp.com/5000/!wiki?Help) that describes the 'PicoLisp Wiki
Mode' for Emacs.
With this mode, writing articles for the Wiki in Emacs becomes very fast
and convenient. You can find the picolisp-wiki-mode.el file in the
'lib/el/' folder of the testing release.
--
cheers,
Th
e,
since the picolisp-wiki-mode works fine even if fontification is a bit
random. Don't know if it would be an improvement and worth the pain.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
t sure myself if it would
be such a good idea. It would make some things easier, but these things
are not impossible with the current syntax either.
Thanks for the feedback, I think you are right.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
-
| Here you can upload and render a test markup file
`--
With this feature I can write wiki articles locally with
picolisp-wiki-mode, and test the markup (correct typos & mistakes)
before finally uploading the text into the wiki. Nice.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
t;: (env)
>-> NIL
>
Now it works for me too:
,--
| $ ./pil +
| : (env)
| -> NIL
`--
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
thing to have so much colors in the buffer.
The mode is working fine for writing articles, and the coloring is
really just optional fancy stuff and a matter of taste, I'm not even
sure if I would like a buffer full of colors better.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
replace the content in the already existing
objects?
Or is there a smarter way that minimizes parsing and stores only the
diffs, keeping the history somehow?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
functionality to add, but it works already quite
good, I use it all the time now. I would be highly appreciated if Emacs
users could test it and report bugs.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
ut I used C-p and C-n instead of M-p and M-n
since there is only only line in the REPL and and C-p and C-n can't
server as line-up and line-down in a buffer. However, I could change
that anytime.
> On Thu, Nov 29, 2012 at 5:27 PM, Thorsten Jolitz
> wrote:
>
>
> Hi L
---
I dired, you just type v instead of f on a file to open it in view mode.
That nice if you want (vi-like ?) read-only navigation without messing
up your sources accidentally. Just type e to make the buffer editable
again, or q to delete the buffer.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
sed for pasting right now, just like in emacs).
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Alexander Burger writes:
Hi Joe,
>> https://bitbucket.org/joebo/pico-org/src
>
> Thanks for sharing! Thorsten will be delighted too ;-)
Indead, delighted and surprised, I just talked about an Org-mode parser
with Alex yesterday and recently had a look at the official Org-mode
par
fully works now and
fontification is better (still not perfect, but I dropped the
overambitious attempts to fontify complicated nested structures, so the
simpler structures are fontified more reliable now).
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
eading)
| ; Previous
| (define-key cm-map "p" 'outline-previous-visible-heading)
| ; Forward - same level
| (define-key cm-map "f" 'outline-forward-same-level)
| ; Backward - same level
| (define-key cm-map "b" 'outline-backward-same-level)
| (global-set-key "\M-o" cm-map)
`--
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
| ((+Number)) # Quantity
| ((+String)) # Memo text
| ((+Number) 2) ) # Total amount
`---
How to present this in UML?
Its like 1 Link and 4 unnamed attributes, I'm not sure how to translate
to a UML class diagram?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:pi
ing)) # Memo text
>> | ((+Number) 2) ) # Total amount
>> `---
I think I'll have to figure out a trick how to deal with bags, way to
much effort to get all this info into an UML diagram.
BTW, one more question:
The vars sometimes specified in the comme
eyond a class definition:
>>
>> ,-
>> | (class ...
>> | # var1 var2 var3
>> | ...)
>> `-
>>
>> can be considered as a kind of 'private instance (or class) variables?
>
> Yes. I would not use "private" here, as it sounds like information
> hiding, which is not the case.
>
> "Instance variables" fits best. BTW, there are also "class variables"
> (http://software-lab.de/doc/refV.html#var).
Ok, thanks for the tips.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
-tutorials/org-outside-org.html
`---
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
all ARGS) into
the (local ...) function to define them as part of the new namespace?
3. Should I use namespaces anyway, or rather keep it simple and use the
"pio-" prefix?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Alexander Burger writes:
Hi Henrik, Hi Alex,
thanks for your replies - question answered!
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
:
|
| " ’ ( ) , [ ] ‘ ~ { }
`
I forgot what the "~" is about (e.g. in ~( ... )), and could not find
the explanation.
And isn't "^" another meta character (with what meaning in PicoLisp)?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
east).
> Besides this, the tilde has a special meaning when separating a namespace
> and a symbol name, e.g. myPackage~mySymbol
>
>
>> And isn't "^" another meta character (with what meaning in PicoLisp)?
>
> Not in internal symbols. In transient symbol
wiki?recurInPicoLisp
`---
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
s only for compiler
optimizations -right?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
(apply * (range 1 100)) ) )
>
> then I get:
>
>13.161 sec
>7.331 sec
>7.413 sec
>->
> 9332621544394415268169923885626670049071596826438162146859296389521753229915608941463976156518286253697920827223758251185210916864
>
> So the recursive version takes about twice as long as the other two.
Thanks, nice to know. I find that interesting enough that I would like
to add
Alex Gilding
writes:
Hi Alex (Gilding),
> You actually have that the opposite way around. [...]
Very interesting read, thank you for the info.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
't compose well.
nice example, thanks for the link!
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Tomas Hlavaty writes:
Hi Tomas,
> I'm Cc-ing picolisp mailing list too just in case others find it
> interesting.
thats OK, I think this could generally be very useful. And thanks for
your informative answer!
> Thorsten Jolitz writes:
>
>> Hi Tomas,
>>
>&g
straigt forward to me. But I'm not sure
how complete the C++ coverage is, I think templates are not supported.
On the other hand, it seems that by the end of this summer, ANSI C is added
as a target language to SWIG, which would probably be the most straight
forward option to prepare C++ class libra
ers.functions.SMO"
"-h")
| Fehler: Hauptklasse weka.classifiers.functions.SMO konnte nicht
| gefunden oder geladen werden
| -> NIL
`-
[TRANSLATION: Error: class weka.classifiers.functions.SMO could not be
f
ash: /home/tj/java/weka/weka-3-6-9: Ist ein Verzeichnis
| $ $TERM
| -bash: xterm-256color: Kommando nicht gefunden.
`--
the variable is set and known to BASH, but somehow PicoLisp does not
know about it:
,
| : (sys "WEKAHOME")
| -> NIL
| : (sys "TERM")
| -> "xterm-256color"
`
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Jorge Acereda Maciá
writes:
> On May 29, 2013, at 7:05 PM, Thorsten Jolitz wrote:
>> -
>>
>> the variable is set and known to BASH, but somehow PicoLisp does not
>> know about it:
>
> Did you export it? (export FOO=x
symbols property list - how do I
do that (without setting every single key/value pair with 'put')?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
ithout setting every single key/value pair with 'put')?
>
> This can be done with 'putl'.
I knew that there must be a function for this ... thanks
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
ld of course just name it 'Var', but the '*Var' would
underline its importance.BTW
Are constants in uppercase (like 'MYCONST') acceptable in PicoLisp?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
t;
> Yes. I haven't seen or used many constants yet (a good case might be
> "lib/openGl.l" though), but an all-uppercase notations seems natural to
> me.
>
> One thing to remember is of course that there are no real "constants" in
> PicoLisp. Anythi
nd_src
without a surrounding '(html ... ) call.
How can I tell and about "@lib.css" in this case? Is there a way
to pass both, the css file and attribute-value pairs to these two
tag-functions?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
----
| http://:/lib.css"</a>;>
`
I'm a bit confused about this part:
,--
| http://:/
`--
what is this :/ standing for? I know the : as path-separator on Linux,
but here?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Alexander Burger writes:
> Hi Thorsten,
>
>> html output is:
>> ,
>> | http://:/lib.css"</a>;>
>> `
>> ...
>
many 1-bits as there
> are submenus, you should be safe, e.g (setq *Menu (dec (** 2 24))).
a slightly underdocumented feature ... or is that described somewhere?
Thanks so far, I made the CSS working by putting the stylesheet link
into the section, so far it was exported to the html and
then ignored.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
list represents an object (assuming
class +Dog is defined and 'dog' is an alias for it) without doing
#+begin_src picolisp
(new ’(+Dog) "border collie" "medium" "high" T)
#+end_src
explicitly?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Alexander Burger writes:
[...]
Thanks Alex,
I have to experiment with this, it seems exactly what I need ... maybe I
will follow up to this post later. Its always amazing to see how
PicoLisp's fundamental simplicity makes stuff like this so easy.
--
cheers,
Thorsten
--
UNSUBS
imes (not necessarily at the end of the list), e.g.
#+begin_src emacs-lisp
(:parent #5=(headline ...
... :parent #5#)
#+end_src
I wonder how this can be expressed in PicoLisp?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
gt;: (7 8 ~"n2")
>-> (7 8 4 5 6)
Does not look as clean and nice as before, but what counts - it can be
done, great.
Thanks again, I'm glad I asked, it would have taken me forever to
(probably not) figure this out.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
missing]
REFS:
,---
| BURGER 1997: Title
| BURGER 2009: Title
`---
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Lisp SEXP, but maybe it actually does
not make a difference since in this case Lisp is Lisp, no matter what
dialect.
PS
With so many occurences fo SEX in this post, I wonder if it will be
filtered as SPAM or actually posted in the mailing list
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:pic
ally posted in the mailing list
>
> Worked :) And NSA will only read read (and not filter) it.
at least I sent it only once and are not classified as spammer now,
hopefully ;)
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
dexen deVries
writes:
> On Monday 01 of July 2013 07:39:49 you wrote:
>> Hi Thorsten,
>>
>> > I wonder if there is a way in PicoLisp to check if some function
>> > argument is a SEXP, i.e. if something like a function 'sexp? exists that
>> > retur
eems to be a good
thing.
But thanks for the tip anyway!
> On Mon, Jul 1, 2013 at 4:50 AM, Thorsten Jolitz
> wrote:
>
> dexen deVries
> writes:
>
>
> > On Monday 01 of July 2013 07:39:49 you wrote:
> >> Hi Thorsten,
>
in the Emacs Lisp manual, but I don't know if this holds for
all Lisps or only Emacs Lisp.
I guess in PicoLisp it might be a different story?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
ells and alists only sometimes?
>
> Sure. Everything in PicoLisp is built with cells. Why should association
> lists be only sometimes so?
I think thats the point where I'm confused a bit. I meant dotted pairs
but wrote cons cells - but isn't that the same?
Are these all alists?
#+begin_src picolisp
((VAL . KEY) KEY (VAL . KEY))
(VAL KEY KEY VAL KEY)
((VAL . KEY) KEY VAL KEY))
#+end_src
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
uld simply redefine the VALS as KEYs and
vice verse in his head before applying 'assoc' or 'asoq'.
Or if he actually swaps keys and vals, since (Emacs Lisp) functions like
'rassoc' and 'rasoq' do not exist in PicoLIsp.
One last question:
#+begin_src picolisp
((VAL . KEY) KEY (VAL . KEY))
((VAL KEY) KEY (VAL KEY))
((VAL VAL KEY) (VAL VAL KEY) (VAL . KEY))
#+end_src picolisp
would each of the above be a valid property list if assigned with 'lput'
to a symbol?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
# But not '(a b)' because they
>-> NIL # are not pointer-equal
>
>: (get 'A (cdar PList)) # (cdar PList) is (a b)
>-> "val1"# and pointer-equal
ok, thanks, I think now I got it more or less.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
each ".l" file?
2. Only one '(symbols 'project 'pico) definition at the top of that
".l" file that loads the other files from the project?
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
101 - 200 of 365 matches
Mail list logo