Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Pseudocode
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Machine compilation of pseudocode style languages== ===Natural language grammar in programming languages=== Several attempts to bring elements of natural language grammar into computer programming have produced programming languages such as [[HyperTalk]], [[Lingo (programming language)|Lingo]], [[AppleScript]], [[SQL]], [[Inform]], and to some extent [[Python (programming language)|Python]]. In these languages, parentheses and other special characters are replaced by prepositions, resulting in quite verbose code. These languages are typically [[Dynamic typing|dynamically typed]], meaning that variable declarations and other [[boilerplate code]] can be omitted. Such languages may make it easier for a person without knowledge about the language to understand the code and perhaps also to learn the language. However, the similarity to natural language is usually more cosmetic than genuine. The syntax rules may be just as strict and formal as in conventional programming, and do not necessarily make development of the programs easier. ===Mathematical programming languages=== An alternative to using mathematical pseudocode (involving set theory notation or matrix operations) for documentation of algorithms is to use a formal mathematical programming language that is a mix of non-ASCII mathematical notation and program control structures. Then the code can be parsed and interpreted by a machine. Several formal [[specification language]]s include set theory notation using special characters. Examples are: * [[Z notation]] * [[Vienna Development Method]] Specification Language (VDM-SL). Some [[array programming]] languages include vectorized expressions and matrix operations as non-ASCII formulas, mixed with conventional control structures. Examples are: * [[APL (programming language)|A programming language]] (APL), and its dialects APLX and [[A+ (programming language)|A+]]. * [[MathCAD]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)