?GNU Guile?
- Anmelden oder Registrieren um Kommentare zu schreiben
hello forums, Richard Stallman uses Scheme : https://stallman.org/stallman-computing.html#lisp , GNU Guile is a GNU implementation of Scheme language : https://www.gnu.org/software/guile/ , the video shows it is https://yewtu.be/watch?v=DDROSL-gGOo .
I can program VBA for Microsoft Office, learning GNU Guile is a good idea for full time use GNU/Linux computer? I like what shown in video what you think?
Regarding your interest in learning GNU Guile: Scheme is a dialect of Lisp, which is known for its expressiveness and power. At the same time I'm sure it's possible to find other people that extol the virtues of other languages. Which language to use/learn could easily become a never-ending subject, much like asking which text editor to use. You won't get agreement from everyone. It maybe helpful to choose a language that you enjoy working with and that meets your project's requirements, not because of else uses it.
As for what RMS uses, while he is known for his work on free software and the GNU project, he doesn't do much programming anymore these days ("However, since around 1992 I have worked mainly on free software activism, which means I am too busy to do much programming.") His work more focuses on advocacy for free software, which has had a significant impact on the world.
thank You! in past I tried python, I find it's ugly I don't like it. I will learn more GNU Guile I like what I learned about it already. rlwrap program works with GNU Guile for history and command line editing : "rlwrap guile", to clear a screen in guile : (system* "clear"). I like it
Scheme is a dialect of Lisp, which is known for its expressiveness and power.
And its minimalist aspect (the opposite of Common Lisp).
Regarding the original question, "learning GNU Guile" or any other programming language is not required "for full time *use* GNU/Linux". It is useful if you want to extend GNU Emacs or program something from scratch. To "use GNU/Linux", the most useful language is probably the shell, the language interpreted in a terminal. But it is not required to learn it either.
thank You! The shell is BASH? I can program some dosbatch for Windows cmd.exe, I can learn BASH too, I like how in GNU Guile you can get exponent of any large number (expt 64 64) gives full integer number , I have some programing projects in mind to use language like GNU Guile
GNU Bash is the default shell in Trisquel and in most GNU/Linux distribution. The Debian Almquist Shell (dash) is present as well in Trisquel and in (almost?) all Debian derivatives. It is more minimalist and faster than GNU Bash, which has more features. That said, the shell mostly aims to execute other commands: you do not want to do the heavy lifting in the shell itself.
I ask my students to read at http://en.flossmanuals.net/command-line/ :
- The whole "Basics" section;
- The subsections "Basic commands", "Cut down on typing" and "Redirection" of the "Commands" section;
- The subsection "Piping" of the "Advanced-ish" section.
I then teach commands to process plain text (less, head, tail, cat, tr, wc, cut, paste, comm, join, sort, uniq, grep, sed, awk; the last two are simple programming languages by themselves... but I never use sed for more than substitutions). Everybody who works with plain text data (maybe not your case) should learn those extremely useful and efficient commands.
thank You!
The page has moved to : https://archive.flossmanuals.net/command-line/
I downloaded : https://archive.flossmanuals.net/_booki/command-line/command-line.pdf as PDF.
If you're truly intent on diving head first into guile/scheme, I've heard great/not-so-great things about a book called "The Little Schemer."
This review falls in the latter category, but seems fair enough...
https://inventwithpython.com/blog/2018/12/09/book-review-the-little-schemer/
Seems to be coming from a Python blog...coincidence? ;-)
thank You! The Little Schemer book was mentioned in the video when talk about recursion in GNU Guile. Everyone says this is best book on Scheme : https://sarabander.github.io/sicp/html/index.xhtml
Recursion usually take large resources in most programming languages. Most fail to calculate Fibonacci sequence beyond 40.
In GNU Guile it is fast and easy
(define fib-helper (lambda (n var1 var2) (cond ((= 1 n) var1) (#t (fib-helper (- n 1) (+ var1 var2) var1)))))
(define fib (lambda (n) (cond ((= 0 n) 0) (#t (fib-helper n 1 0)))))
;; call function
(fib 200)
;; result
$7 = 280571172992510140037611932413038677189525
I very impressed by the language and capabilities!
- Anmelden oder Registrieren um Kommentare zu schreiben