Pretty much. Although I wouldn't consider that a true 'programming language'. I would consider that more of a scripting language or a macro language.
A programming language at its most basic should allow the programmer some way to execute the basic operations.... Load, Store, Branch (If/Else), Jumps, and Arithmetic.
Generally also they will have what is called a 'Formal Grammar'.
Most compiler language parsers use a formal grammar specification to check syntax.
For instance, you can say a programming language might follow this grammar:
(I'm enclosing grammar 'objects' in parenthesis. := means 'is') Code: (statement) := (function)(;) or (expression)(;)
(function) := (identifier)( ( )( ) )
(expression) := (identifier) (=) (expression) or (identifier) (mathop) (identifier)
(identifier) := (variable) or (number) or (procedure_call)
(mathop) := (+) or (-) or (*) or (/) or (^) or (%)
And so on and so forth.
__________________ Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache) |