Re:Lisp in Your Language
by zeveb on Wednesday September 09, 2015 @05:53PM
(#10194887)
glib offers much of what Common Lisp offers as part of the language (and more, of course).
[ Parent
| on HN ]
Re:Lisp in Your Language
by GFK_of_xmaspast on Thursday September 10, 2015 @12:28AM
(#10196149)
I'm not horribly familiar with glib, could you expand?
glib[1] is a library for C which provides things like portable file I/O (in Common Lisp); error reporting (in CL); hook functions (part of CL); a reader (in CL); a lists, sequences, strings & hash tables (in CL) and so forth. Common Lisp mostly has a fuller implementation of all of these.
It also has some things CL doesn't provide as part of the language: threading primitives; URL-handling; advanced calendrical calculations; basic crypto and so forth.
Hm, I don't think you can say that an optional, third party library is a "part of a language". Each language has a some standard library, which can be considered "part of a language", but other libraries shouldn't be. This way you could say that all npm, pypi and gem packages are part of the relevant languages.
Other than this, however, it's a good example.