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
Free-form language
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!
{{Use American English|date=July 2020}} {{Use dmy dates|date=July 2020}} {{More sources needed|date=June 2024}} {{neologism|date=July 2020}} In [[computer programming]], a '''free-form language''' is a [[programming language]] in which the positioning of [[character (computing)|characters]] on the page in program text is insignificant. Program text does not need to be placed in specific columns as on old [[punched card]] systems, and frequently ends of lines are insignificant. [[Whitespace character]]s are used only to delimit [[token (parser)|tokens]], and have no other significance. Free-form languages allow a greater degree of flexibility and have fewer syntactic rules to learn, which could lower the entry barrier for beginners.<ref>{{Cite news |last1=Winkler |first1=Till |last2=Flatscher |first2=Rony G. |date=2023 |title=Cognitive Load in Programming Education: Easing the Burden on beginners with REXX |url=https://research.wu.ac.at/files/46150789/CECIIS_CLT_REXX.pdf |work=In Central European Conference on Information and Intelligent Systems |publisher=Faculty of Organization and Informatics Varazdin |pages=171β178}}</ref> Most free-form languages descend from [[ALGOL]], including [[C (programming language)|C]], [[Pascal (programming language)|Pascal]], and [[Perl]]. [[Lisp (programming language)|Lisp]] languages are free-form, although they do not descend from ALGOL. [[Rexx]] and its dialects [[Object REXX|ooRexx]] and [[NetRexx]] are mostly free-form, though in some cases whitespace characters are [[concatenation]] operators. [[SQL]], though not a full programming language, is also free-form. Most free-form languages are also [[structured programming]] languages, which is sometimes thought to go along with the free-form syntax: Earlier [[imperative programming]] languages such as [[Fortran 77]] used particular columns for line numbers, which many structured languages do not use or need. Structured languages exist which are not free-form, such as [[ABC (programming language)|ABC]], [[Curry (programming language)|Curry]], [[Haskell (programming language)|Haskell]], [[Python (programming language)|Python]] and others. Many of these use some variant of the [[off-side rule]], in which indentation, rather than keywords or braces, is used to group blocks of code. ==See also== * [[Indent style]] * [[Obfuscated code]] * [[Curly bracket programming language|Curly-bracket programming language]]{{snd}} Many free-form languages are within this set. ==References== {{reflist}} [[Category:Programming language classification]] {{Prog-lang-stub}}
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)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite news
(
edit
)
Template:More sources needed
(
edit
)
Template:Neologism
(
edit
)
Template:Prog-lang-stub
(
edit
)
Template:Reflist
(
edit
)
Template:Snd
(
edit
)
Template:Use American English
(
edit
)
Template:Use dmy dates
(
edit
)