Content deleted Content added
Marked page issues as discussed in the page Talk section "Article problems!". Added tags about problems relating to a lack of citations, synthesis of materials, and notabillty problems of the article itself. Guidelines for when they should be removed are in the talk page! Also noted failed verification on the first inline citation, which does not argue what the page text argues. Tags: Visual edit Mobile edit Mobile web edit |
Addec sources, definition of "espression oriented language" and inclusion of OCaml as an example of an expression oriented language Tags: Visual edit Mobile edit Mobile web edit |
||
Line 2:
{{Notability|date=July 2022}}
An '''expression-oriented programming language''' is a [[programming language]] in which every (or nearly every) construction is an [[expression (computer science)|expression]] and thus yields a value.<ref>{{Cite web |title=Glossary - The Rust Programming Language |url=https://web.mit.edu/rust-lang_v1.25/arch/amd64_ubuntu1404/share/doc/rust/html/book/first-edition/glossary.html#expression-oriented-language |access-date=2022-07-06 |website=web.mit.edu}}</ref> The typical exceptions are [[macro (computer science)|macro]] definitions, [[preprocessor]] commands, and [[declaration (computer programming)|declarations]], which expression-oriented languages often treat as [[statement (computer science)|statements]].
[[ALGOL 68]] and [[Lisp (programming language)|Lisp]] are expression-oriented languages. [[Pascal programming language|Pascal]] is not an expression-oriented language.
Line 33:
*[[Scala (programming language)|Scala]]
*[[Kotlin (programming language)|Kotlin]]
*[[OCaml]]<ref>{{Cite web |title=COS 326: Functional Programming |url=https://www.cs.princeton.edu/~dpw/courses/cos326-12/notes/type-check.php |access-date=2022-07-06 |website=www.cs.princeton.edu}}</ref>
<!-- *[[PHP]]<ref>[https://www.php.net/manual/en/language.expressions.php PHP Manual "Expressions"]</ref> -- See talks. PHP manual saying something does not really mean that it is true =( -->
|