Teen Programmers Unite  
 

 

Return to forum top

newbie language question

Posted by gbyte222 [send private reply] at April 25, 2002, 08:51:17 PM

What, if any, language do not require a compiler. I already know c++ does, and i am not very good at it yet, but i want to try others without having to get a compiler.

Posted by Psion [send private reply] at April 25, 2002, 08:58:16 PM

The only language "built in" to a computer is its machine language, which you will not be able to learn easily if you are just starting. You will need special software to use any other language.

Posted by unknown_lamer [send private reply] at April 26, 2002, 08:47:22 AM

You can interpret C and C++...with CINT (I'm not lying...http://root.cern.ch/root/Cint.html ). But you probably don't want that...you can try learning Scheme or Common-LISP, because both come with interactive compilers / interpreters (Common-LISP is generally _not_ interpreted--it is incrementally compiled). See http://www.schemers.org and http://lisp.org for Scheme and LISP resources. PLT Scheme is supposed to be a very nice Scheme system with an integrated IDE and a bunch of other stuff for Windows. Best of all, it costs nothing...for common lisp you'll have a harder time finding free beer implementations (unless you use a UNIX like system, then you have CMUCL [WHICH PSION MUST WORK ON NOW :)]).

Posted by CodeRed [send private reply] at April 26, 2002, 02:02:53 PM

How about interpreted languages like java, got a problem with those too? you can get free compilers

Posted by Mycroft [send private reply] at April 26, 2002, 05:20:11 PM

Very few full languages require no compiler. The only mainstream languages I can think of are perl, javascript, and HTML. Those aren't even real programming languages though they are scripting languages.

Posted by Psion [send private reply] at April 26, 2002, 05:44:50 PM

I think what most of the answerers of this question are missing is that gbyte probably does not distinguish between compilers and interpreters. I am guessing he just doesn't want to have to get extra software to use a programming language, which just isn't going to happen.

Posted by buzgub [send private reply] at April 27, 2002, 02:38:07 AM

Psion: not quite. A mainstream web browser will probably have a Javascript interpreter, and Windows 98 and upwards have interpreters for VBScript and JScript, while Office 95 or greater has a VBA interpreter.

Posted by Linux_Penguin [send private reply] at April 27, 2002, 02:23:36 PM

Ahem, what about Python??? It's free, powerful and interactive and whatnot.

Posted by unknown_lamer [send private reply] at April 27, 2002, 07:25:47 PM

One: HTML is not a programming language. It is a document formatting language
defined in either SGML or XML (xhtml)

Two: Perl can be compiled and is not just a scripting language. I've seen several large
programs written in it (anyone ever heard of Pronto--and email client written in Perl)

Three: Just because a language is compiled doesn't make it non-interactive.
Common-LISP is compiled, but it is a very interactive programming language.
You just have to find a language that does incremental and Just-In-Time compilation.

Posted by infryq [send private reply] at April 28, 2002, 01:14:37 AM

You might try application scripting languages first, like those in HyperCard, Director and Flash.

You can't do terribly complicated things effectively with these, but you can learn basic principles and control structures very easily, and then decide if you like this stuff and want to try a more universal language like C, perl, java etc.

Posted by unknown_lamer [send private reply] at April 28, 2002, 02:08:04 PM

There is no point in using "application scripting" languages when Scheme
is so easy to learn. Scheme and Common-Lisp are basically simple languages,
even though CL looks difficult (yes, the standard tops 1000 pages).
Just use Lisp, it makes the world a better place :)

Posted by infryq [send private reply] at April 28, 2002, 02:30:28 PM

u_l: Anything learned has a point, if only to practice how to learn. The more you know about programming, the better equipped you are to assess a given situation for the best way to solve it.

CL and Scheme are other options, though most implementations of Scheme I found online require a compiler, which the question specifically excludes. (not that this makes it a bad choice, it looks like a very good beginning language)

here is a decent link for CL stuff:
http://www.apl.jhu.edu/~hall/lisp.html#Section5

and MIT''s page on Scheme:
http://www.swiss.ai.mit.edu/projects/scheme/index.html

Posted by 142857 [send private reply] at May 01, 2002, 06:57:58 PM

though if you're worried about having to pay...well, don't worry about having to pay. go to www.borland.com and download the free c++ (and c) compiler. it has no graphical interface but it still works

Posted by unknown_lamer [send private reply] at May 02, 2002, 07:59:45 AM

Why not just get cygwin (cygwin.com) with GCC? GCC is Free (beer and speech).

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.