Programming languages built into mainstream distros with interpreters (like Python)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Programming languages built into mainstream distros with interpreters (like Python)
Hey, other than Python, which languages are built into most Linux distros, using a real-time interpreter, like the Python prompt, where you can just enter some commands and test out ideas before actually creating a file with your program?
Hmm, built-in, I dunnow, but there is a "selection" around. How about Ruby, or Perl? Even C++ has to be "installed" (the compiler of course) but I doubt there's a "built-in" language as such. It kinda goes against the Linux thing in that YOU choose what YOU want, not what some packager somewhere deems you should need...that...happens in the "other" one...
Hey, other than Python, which languages are built into most Linux distros...where you can just enter some commands and test out ideas before actually creating a file with your program?
Well, most distros have a shell, of some kind, built in. I'd almost say Bash is universal, but in some cases its dash...which is exactly the same as bash, except for the few cases where it isn't.
Quote:
Originally Posted by Blackened Justice
...using a real-time interpreter, like the Python prompt..
I think I know what you mean, and its not real time programming. You want to run the program immediately (without compiling), whether it runs quickly or predictably (from the point of view of a delimited maximum execution time), or not.
Quote:
Originally Posted by Blackened Justice
...other than Python, which languages are built into most Linux distros...
Well, Python isn't usually built-in in any very very fundamental way. It is often used for install, or similar, scripting, but, after install, you could still use Linux/Gnu in pretty much the same way, but without some automation and without some add-on utilities, even without Python. Installing Python is often the default though, more often than, say, Ruby, and that's probably what you mean (I think). To me, that makes it more of an option than a 'built in', and you have quite a wide choice of this kind of tool (boo, ruby, tcl, BASIC (?), Forth, Java, Javascript(??) ), if you include all of the things that you could install, rather than just the stuff that you must install and keep installed, or something fundamental breaks.
As mentioned above, Perl is usually installed by default; not sure about the immediate/interactive env you seem to want, but I wouldn't be surprised; its an extremely flexible lang.
If you wanted to find out, I'd ask over at www.perlmonks.org; its where the Perl gurus hang out.
Hey, other than Python, which languages are built into most Linux distros, using a real-time interpreter, like the Python prompt, where you can just enter some commands and test out ideas before actually creating a file with your program?
Cheers
Do you mean an interactive shell? Then Ruby is the only other language I know of that comes with an interactive shell, like Python.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.