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

Pages: 1-

Embedded Scheme

Name: Anonymous 2010-01-22 20:41

Why the fuck did bash/vim have to make up their own languages instead of using a pre-existing one, like, say, Scheme? No, I have to waste time learning your toy language's syntax. Seriously, if Scheme was designed to be simple and elegant, why isn't it used more often as an embedded scripting language?

Name: Anonymous 2010-01-22 20:46

>>1
I think sh predates scheme, and bash would have copied that. Vim is retarded, but allows you to use multiple languages anyway.
Guile was supposed to be the scripting language of GNU/Linux, but we all know how that's turned out Well, I'm guessing at least one person doesn't, GNOME turned to python because that's what people think qualifies as a good scripting language.
Scheme wasn't designed to be simple and elegant (originally), it was an accident caused by realising that functions and actors were equivalent.
It does get used as an embedded scripting language, notably by Square, but it doesn't get used more often because lol parentheses.

Did I miss anything?

Name: Anonymous 2010-01-22 20:47

>>2
YES. YOUR SOUL

Name: Anonymous 2010-01-22 20:50

>>2
That thing about embedded Python makes me so sad. I use a lot of python-scripted things and they all have horrible UI response as a result.

Name: Anonymous 2010-01-22 22:39

Name: Anonymous 2010-01-22 23:25

>>2
Scheme and sh were roughly concurrent, although Scheme came first by a bit, but were developed at different institutions, so I can see how cross-pollination would have been difficult.

>>1
Vim would be a much better program if it were scriptable with a better language and if more of Vim were implemented it. Of course, it would then be Emacs, which I don't think Vimmers would abide.

Name: Anonymous 2010-01-23 3:38

>>2
you guys think the monofag is responsible for this ?
i wouldnt be suprised if it was because of icaza.

Name: Anonymous 2010-01-23 4:25

what kind of retard would want to use scheme as their shell or text editor?
scheme isn't used because real programmers laugh at functional languages

Name: Anonymous 2010-01-23 4:39

>>8
@_@

Name: Anonymous 2010-01-23 4:57

>>9
No, it's true. Real programmers are so busy laughing at functional languages that they can't even be bothered to figure out what one is.

Name: Anonymous 2010-01-23 5:10

>>5
I often think it's strange that the people who like ruby "because it's terse" are the same ones that claim perl is too complicated. I prefer descriptive function names to syntax, but then again, I use a decent editor that will complete my symbol names. You can get the syntax with macros if you want, I used to used one like

(dict 'foo => "bar" : 'baz => "quux")

for writing hashtables.

>>10
Not surprising really, since they still can't be bothered to agree on what constitutes OO in a language.

Name: Anonymous 2010-01-23 5:14

>>11
Before someone says that the macro excuse is a cop out, I'd like them to stop and think how many flame wars have been started by syntax as opposed to function names.

Name: Anonymous 2010-01-23 6:30

lol, schemers.
lol, Lispers.
sure is reddit in here.

Name: Anonymous 2010-01-23 7:25

>>13
how so? I don't see any ((((()))())()())s, Lithps, Yo dawgs, Im not your buddy guy or the other myriad of "witty" redditisms.

Name: Anonymous 2010-01-23 7:32

Name: Anonymous 2010-01-23 8:42

Lua is as close to scheme as you can get without macros, and was made from the start to be embedded in C. The end.

Name: Anonymous 2010-01-23 9:07

Is Gimp not scripted with a lisp dialect (scheme-fu i think). And why not python while scheme is a beautiful language the amount of () can be freaky will python is C without the crap.

Name: Anonymous 2010-01-23 9:13

>>17
GNU Image Manipulator
GNU Guile (which succeeds Elisp as the default GNU extension language).

Name: Anonymous 2010-01-23 9:28

>>18
Since what version ?
"Script-Fu (a dialect of Scheme) isn't the only scripting language available for GIMP. But Script-Fu is the only scripting language that is installed by default."
Documentation from version 2.6.7

Name: Anonymous 2010-01-23 9:44

>>13
Oh hi, you must be new here - Scheme, through SICP meme spam, is an integral part of /prog/ subculture.

>>16
That seems like a winner. If I ever get around to writing my own shell, I'll definitely consider Lua for scripting.

Name: Anonymous 2010-01-23 12:10

SICP meme
W-(

Name: Anonymous 2010-01-23 17:43

>>20
SICP is not a mere meme. SICP is life itself.

Name: ​​​​​​​​​​ 2010-10-25 13:32

Name: Anonymous 2010-11-16 4:32

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