GNU componants

4 risposte [Ultimo contenuto]
Iscritto: 03/30/2021

I was listening rms speaking about the GNU operating system.

He started to develop and replace UNIX components one by one. An editor (emacs), a compiler (gcc), a debugger (gdb), after people look at the shell (bash). His plan was to release the whole GNU operating system but that didn't happen.

You can study components.

mkdir emacs ; cd emacs
apt-get source emacs

mkdir coreutils ; cd coreutils
apt-get source coreutils

If you use emacs, you can use the info system.

Iscritto: 03/30/2021

I'm not a programmer but It's amazing that everyone can help to develop the GNU system. Look at the software sources, whaaw.


And it's free!

Iscritto: 01/04/2013

I'm late, but Emacs has a geiser package which you can install it use as it a Guile (Scheme language, a Lisp) advanced REPL (think of it as a mega advanced shell), and you have the SICP packages at MELPA for Emacs.

That way you could follow the SICP course on GNU Info format with M-x info C-s sicp and start coding with M-X geiser thanks to Scheme.

Most of stuff you'll learn here will be applicable to the rest of programming languages of ease, such as the cost of complexiting of an algorythm, recursivity, and so on.

SICP it's hardish, but it just requires HS algebra and the very basic of calculus for a few pages. (But you have the concept of derivative and integram in just *three* lines of Scheme, think about intuitiveness).

For the rest of math, M-x calc and follow the tutorial, it will teach you a bit of advanced math. Gnuplot from the apt repos it's recommended in order to plot stuff (do'h).

Iscritto: 03/19/2020

> I'm late, but Emacs has a geiser package which you can install it use as it a Guile (Scheme language, a Lisp) advanced REPL.

Yup, there's also SLIM for running a nice Common Lisp REPL in emacs.

We could list way more. There's `M-x run-python' that similarly opens a Python REPL and which happens to be included in Emacs by default.

A cool thing about those REPLs is that when in a buffer with that language's code, you're usually given ready-to-use shortcuts for sending the function definition under cursor to the REPL and for similar tasks

Iscritto: 01/04/2013

Indeed, but with Scheme and SICP (installed with M-x
package-install sicp) you'll get a free CS course.
Also M-x calc's tutorial explains lots of "advanced"
math terms from high school and beyond.
You can test the equations from SICP on Calc to understand
how they "work" and then implementing them in Scheme
will be far easier, at least in the first chapters.
The rest of the book it's not math bound, tho.