On 08/13/2009 02:10 PM, Ted Roche wrote: > 2009/8/13 Ricardo Aráoz<[email protected]>: > >> Or maybe : a markup describes a desired result whereas a programming >> language describes a series of actions (though that would put SQL into >> the markup camp). > > I think that might push functional languages over into the 'markup' > category as well as SQL. My idea is more that programming languages > are 'executable' for some hand-wavy definition, whereas markup is data > that intends to convey structure. > > XML is markup; XSLT is a (non-procedural) declaration of execution to > take place on that markup. > > Markup is to nouns as programming is to verbs. >
A computer program is a set of instruction designed to accept some kind of input. The program acts upon the input by manipulating it in some way, based upon its instructions set. Once the input has been acted upon, the program would generate an output. The computer language is the set of words, symbols, notations, data structure capabilities, and other syntax which the programming language understands. This allows the programmer to converse with the language via a program to specify the input, the action to be taken upon the input, and the form of the output. Programming languages that understand XML can use the XML as both and input and an output. Therefore, XML can be used as the imput to a program, as well as the output from a program, if the computer languages is XML aware, Under my definition of computer language, just about anything would qualify including code written in low level one and zero, (eg binary), languages like C and pascal, and even scripts like perl, python, ruby, php, etc. Regards, LelandJ Regards, LelandJ Regards, LelandJ _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

