[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


c3010f No.2567


* (defun reader-macro (stream char)
(declare (ignore char))
'(print "2 is for nerds"))

READER-MACRO
* (set-macro-character #\2 #'reader-macro)

T
* 2

"2 is for nerds"
"2 is for nerds"
* (+ 32 5)

"2 is for nerds"
debugger invoked on a SIMPLE-TYPE-ERROR in thread
#<THREAD "main thread" RUNNING {1002D7F363}>:
Argument Y is not a NUMBER: "2 is for nerds"

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.

(SB-KERNEL:TWO-ARG-+ 3 "2 is for nerds")

I'm not sure what I expected…

Lisp general.

>Favourite dialect

>What are you working on

>What is your favourite thing about Lisp

>What is your least favourite thing about Lisp

>Favourite dialect

Common Lisp, though I haven't used enough dialects to have a particular reason why.

>What are you working on

Just messing around with some sample projects and occasionally trying out all the weird things you can do.

>What is your favourite thing about Lisp

The simplicity and flexibility. Particularly Macros.

>What is your least favourite thing about Lisp

Community is too small so other programmers bully ;_;

2752b9 No.3050

>Favourite dialect

Common Lisp.

>What are you working on

Nothing relevant, i mostly mess around.

>What is your favourite thing about Lisp

It's homoiconic, i love lambdas, and everything is an abstraction built on a simpler layer.

>What is your least favourite thing about Lisp

Common Lisp and Scheme standards don't have an interface to the system, so we have to use implementation specific things (or, in common lisp, libraries that wrap them).

Also, i don't like how in a symbol values and functions are in different "fields", i find lisp-1 cleaner. Even though common lisp CAN be made a lisp-1, i prefer scheme(s) on this regard.


7051a6 No.3051

>Favourite dialect

Scheme, particularly Racket.

>What are you working on

Nothing right now. Planning to write a p2p program.

>What is your favourite thing about Lisp

Homogenous syntax, first class functions, terse syntax. SJW haven't found it.

>What is your least favourite thing about Lisp

Limited commercial interest.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]