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

Pages: 1-

Writing a better TeX in Clojure

Name: Anonymous 2016-10-24 22:23

Name: Anonymous 2016-10-25 0:50

>>1
Clojure is not a LISP.

Name: Anonymous 2016-10-25 1:11

clojure is a lisp

2 is a troll

Name: Anonymous 2016-10-25 1:15

It is indeed a lisp, just a fscking weird one. Even cons and quasiquote are weird. In clojure, (cons 1 (cons 2 (cons '()))) != (list 1 2 3)

Name: Anonymous 2016-10-25 11:19

>>4
Are you missing a 3?

(cons 1 (cons 2 (cons 3 '()))) ;; => '(1 2 3)

Name: Anonymous 2016-10-25 11:27

>>4,5
who writes '()? just say nil. (cons 1 (cons 2 (cons 3 nil))) looks nicer

Name: Anonymous 2016-10-25 11:45

>>5
yes, but they're still != in clojure.

>>6
I'm a schemer. Nil isn't actually bound in r5rs.

Name: Anonymous 2016-10-25 13:42

>>7
interesting, I assumed it's portable acorss lithps

Name: Anonymous 2016-10-25 14:47

>>6
why would you even waste time thinking about such triviality?

Name: Anonymous 2016-10-25 15:18

>>8

Very little is portable across lithps. Even the very idea of macros is nonportable: scheme officially didn't have them before r4rs, and they didn't really come in until maclisp. And even the more lithpy scheme macros systems like sc and er/ir aren't exactly the same as defmacros.

Just about the only thing that is portable is the idea that lists exist and are the core datastructure, but even the names of the primitives vary from lithp to lithp, although it's almost always cons, car, and cdr nowadays.

Name: Anonymous 2016-10-25 17:07

TeX is shit, use Markdown instead

Clojure is shit, use Ruby instead

Check out my dubs

Name: Anonymous 2016-10-25 17:13

>>11
TeX is shit, use Markdown instead

hahahahaha. if you only ever write README files for you cool frameworks you put on github.

Name: Anonymous 2016-10-25 17:16

>>11
Very hipster. DHH would be proud of you.

For that matter, so would Lennart.

Name: Anonymous 2016-10-25 22:36

Why does markdown exists anyway? Just use BBcode, orgmode, (la)tex, postscript, troff, etc.

Name: Anonymous 2016-10-25 23:21

>>10
Clojure and Hy use first/rest instead of car/cdr. And don't try to tell me that those are not true lithps.

Name: Anonymous 2016-10-26 0:00

>>15
Are you blind? Go read my post again, I didn't say that.

Name: Anonymous 2016-10-26 0:08

Hy
fuck off

Name: Anonymous 2016-10-26 0:16

If by "better" you mean using orders of magnitude more resources, maybe.

Name: Anonymous 2016-10-26 2:06

>>18
No, I mean "better":

Easier to maintain
Parallelizable
Reusable outside the project itself

Name: Anonymous 2016-10-26 2:16

>>17
I only used it once because I had to interface with Python code. It makes dealing with Python a bit less of a pain, I'll give it that.

Name: Anonymous 2016-10-26 7:12

>>15
hy allows both
hy 0.11.1 using CPython (default) 2.7.6 on Linux
=> (car '(1 2 3))
1L
=> (= (car '(1 2 3)) (first '(1 2 3)))
True


>>17,20
I quite like it to be honest. it's relatively minimal, not as weird as clojure (although it uses some cloure-ish conventions like [] instead of () for function parameters) and it allows using FIOC libs while avoiding some annoying FIOC quirks. probably the most practitcal of meme lisps

Name: Anonymous 2016-10-26 7:16

CHEKC EM MOTHERFUCKERSSSSS!!!!!!!!! DUBSS!!!!!!!!!!!

Name: Anonymous 2016-10-26 7:20

>>22
checked

Name: Anonymous 2016-10-26 7:20

>>18,19

'>le pedophile sage
'

Name: Cudder !cXCudderUE 2016-10-26 11:00

>>19
Meaningless enterprise bullshite.

Name: Anonymous 2016-10-26 11:14

>>25
le pedophile sage

Name: Anonymous 2016-10-26 13:39

>>21
Weird, I must've gotten confused because of an argument about that with a friend who likes Clojure.
I think it's still a weird lithp, though most of it comes from the Python part. But yeah, it's very practical and I'm glad it exists because it lets you avoid some parts of Python.

Name: Anonymous 2016-10-28 0:47

I like to fart

Name: Anonymous 2016-10-28 19:25

>>27
it is a bit weird (especially the macros, they feel wrong) but it tries to stay comprehensible to lithpers, which is a plus. I like how they have a python-style (if 0) => False but also a CL-style (lif 0) => True.

Name: Anonymous 2016-10-30 13:44

>>27
Clojure is not a Lithp.

Name: Anonymous 2016-11-01 13:53

>>30
Why not?

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