Use of other programming languages in Ubuntu

Source: Internet
Author: User
1) In Ubuntu, you can use your favorite editor to edit programs. The program compilation requires the software package gnat (GNUAdaCompiler ). You can also choose gnat-gps to install the Gnat Programming System, which is an IDE that can be used for Ada and C. 2) The Clojure language installs clojure through the command line. In fact, the REPL (real-eval-printloop) that can be used by clojure in the command line is installed.

1) Ada programming language

In Ubuntu, you can use your favorite editor to edit programs. The program compilation requires the software package gnat (GNU Ada Compiler ). You can also choose gnat-gps to install the Gnat Programming System, which is an IDE that can be used for Ada and C.

2) Clojure Language

Install clojure through the command line. In fact, it is installed with a REPL (real-eval-print loop) that can be used by clojure in the command line, an interactive programming environment.

3) COBOL Language

In Ubuntu, you can use your favorite editor to edit programs. The software package open-cobol is required for program compilation. The compiler actually translates the program into a C program and then uses gcc for compilation.

4) Erlang Language

In Ubuntu, you can use your favorite editor to edit programs. Compiling a program requires the software package erlang. The package will install Erlang/OTP runtime, application, source program, code instance, and Erlang editing mode in Emacs.

5) Forth Language

To use the Forth language in Ubuntu, install the software package gforth, which is the GNU Implementation of the Forth programming environment.

6) Fortran

In Ubuntu, you can use your favorite editor to edit programs. Compiling a program requires the gfortran and GNU Fortran 95 compilers. Compile Fortran 95 on a platform supported by gcc. It uses gcc to generate optimization code.

7) Groovy Language

To use Groovy in Ubuntu, you must first install JVM. Then install the software package groovy. In this way, you can enter cmdsh in the command line to run the Groovy code. Alternatively, enter yyconsole to open an interactive console, or enter the groovy + script file name: groovy scriptname. groovy

8) Haskell Language

To use the Haskell language in Ubuntu, you need to install haskell-platform, a series of tools and class libraries, including the final components. To compile the Haskell program, you must install the ghc (glorous Glasgow Haskell Compilation System) and Haskell language compiler.

9) Java

If you use Java in Ubuntu, you can write programs in your favorite text editor or IDE. Commonly used ides include Eclipse and NetBeans. To compile a program, you must install the software package default-jdk, including the Java Development Kit suitable for the current hardware.

10) JavaScript

Using JavaScript in Ubuntu, you can write programs in your favorite text editor. Open the script in a browser.

11) Lisp Language

Lisp has many versions and variants. The most Common "regular Lisp" is ANSI Common Lisp. To use ANSI Common Lisp in Ubuntu, install the software package clisp. Many Lisp programmers prefer to use the Emacs editor to write code.

12) Lua Language

When using Lua in Ubuntu, you can write programs in your favorite text editor. All platforms that contain the C compiler can compile the Lua language. To run a program, you must install the package lua50, which is the interpreter of the Lua language. Run the program by entering Lua projectName in the command line.

13) Ruby Language

You can use Ruby in Ubuntu to write programs in your favorite text editor. To run the program, you must install the parser, software package ruby1.8.

14) Scala Language

Using Scala in Ubuntu, you can write programs in your favorite text editor. To compile a program, you must install the software package scala. The command scalac sourceFile is used during compilation, and the parser scala sourceFile is used during runtime.

15) Vala Language

Use the Vala language in Ubuntu. You can write programs in your favorite text editor. To compile a program, install the software package valac, that is, the Vala compiler. Then the result output by the Vala compiler is compiled by the C compiler.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.