Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

disassembler in Lisp

Name: Anonymous 2010-12-22 3:26


"8b 04 9b b8 01 00 00 00 90".split |> map asBase,16,? |> x86deasm
((mov eax [ebx+4*ebx]) (mov eax 1) (nop))

Name: Anonymous 2010-12-22 4:05

>absence of syntax
please, tell us about '@,`"#\

Name: Anonymous 2010-12-22 4:14

>>10
Real men use (quote), (quasiquote), (unquote) and (unquote-splice).
How "strings" and (#c #h #a #r #s) are syntax? They are data types.

IHSBT

Name: Anonymous 2010-12-22 4:15

>>11
*(#\c #\h #\a #\r #\s)

Name: Anonymous 2010-12-22 4:16

>>11
You still can use list of symbols for them: '(c h a r s)
And what about (a . b)?

Name: Anonymous 2010-12-22 4:22

>>13
(cons (quote a) (quote b))

Symbols are not strings.
Symbols are case insensitive, case insensitive strings and characters would be pretty stupid, don't you think?

Name: Anonymous 2010-12-22 4:25

>>14

(make-string-from-symbols '(c h a r s))

Name: Anonymous 2010-12-22 4:26

>>14
>Symbols are case insensitive
|whatAboutYourMom?|

Name: Anonymous 2010-12-22 4:28

>>15

1 ]=> (eq? 'a 'A)
;Value: #t
1 ]=> (eq? #\a #\A)
;Value: #f

Name: Anonymous 2010-12-22 4:28

>case insensitive strings and characters would be pretty stupid, don't you think?
Older computers were case insensitive. Nobody complained. Character case is overrated.

Name: Anonymous 2010-12-22 4:30

>>17
>(eq? 'a 'A)
Get yourself a modern Lisp, like Clojure. Dont be a caveman.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List