language 問題呀~

2006-10-27 6:58 am
我想問 MARKUP language 同 scripting language 有乜唔同?

回答 (1)

2006-10-27 8:23 am
✔ 最佳答案
A markup language combines text and extra information about the text. The extra information, for example about the text's structure or presentation, is expressed using markup, which is intermingled with the primary text. The best-known markup language in modern use is HTML (HyperText Markup Language), one of the foundations of the World Wide Web. Historically, markup was (and is) used in the publishing industry in the communication of printed work between authors, editors, and printers.

Scripting languages (commonly called scripting programming languages or script languages) are computer programming languages created to shorten the traditional edit-compile-link-run process. The name comes from a written script such as a screenplay, where dialog is repeated verbatim for every performance. Early script languages were often called batch languages or job control languages. Scripting languages can be interpreted or compiled, but because interpreters are simpler to write than compilers, they are interpreted at least as often as they are compiled.

The term scripting language is not technical, though embedding and dependence on a larger system are usually criteria. In computer games, scripts extend game logic, tailoring the game engine to particular game data. Scripts also make applications programmable from within, so that repetitive tasks can be quickly automated. Of course, not every scripting system that grows beyond its original design and delegation acquires a new name. Full-blown in-game languages such as UnrealScript exist, and JavaScript is a very influential standard, supported by virtually every browser on the market.

http://en.wikipedia.org/wiki/Scripting_language
http://en.wikipedia.org/wiki/Markup_language


收錄日期: 2021-05-03 07:03:23
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061026000051KK05037

檢視 Wayback Machine 備份