ⓘ Curl (programming language)

Curl (programming language)

ⓘ Curl (programming language)

Curl is a reflective object-oriented programming language for interactive web applications whose goal is to provide a smoother transition between formatting and programming. It makes it possible to embed complex objects in simple documents without needing to switch between programming languages or development platforms. The Curl implementation initially consisted of just an interpreter, but a compiler was added later.

Curl combines text markup as in HTML, scripting as in JavaScript, and heavy-duty computing as in Java, C#, or C++ within one unified framework. It is used in a range of internal enterprise, B2B, and B2C applications.

Curl programs may be compiled into Curl applets, that are viewed using the Curl RTE, a runtime environment with a plugin for web browsers. Currently, it is supported on Microsoft Windows, Linux, and macOS. Curl supports "detached applets", which is a web deployed applet which runs on the users desktop independent of a browser window much as in Silverlight 3 and Adobe AIR.

SCSK announced on 2019-03-25 that Curl will stop new releases on Linux and MacOS, which means Curl will no longer run over Linux and MacOS from version 8.0.8.


1. Architecture

The Curl language attempts to address a long-standing problem: the different building blocks that make up any modern web document most often require wildly different methods of implementation: different languages, different tools, different frameworks, often completely different teams. The final - and often most difficult - hurdle has been getting all of these blocks to communicate with each other in a consistent manner. Curl attempts to side-step these problems by providing a consistent syntactic and semantic interface at all levels of web content creation: from simple HTML to complex object-oriented programming.

Curl is a markup language like HTML - that is, plain text is shown as text; at the same time, Curl includes an object-oriented programming language that supports multiple inheritance. Curl applications are not required to observe the separation of information, style, and behavior that HTML, Cascading Style Sheets CSS, and JavaScript have imposed, although that style of programming can be used in Curl if desired.

While the Curl language can be used as an HTML replacement for presenting formatted text, its abilities range all the way to those of a compiled, strongly typed, object-oriented system programming language. Both the authoring HTML-level and programming constructs of Curl can be extended in user code. The language is designed so Curl applications can be compiled to native code of the client machine by a just-in-time compiler and run at high speed. Curl applets can also be written so that they will run off-line when disconnected from the network occasionally connected computing. In fact, the Curl IDE is an application written in Curl.


2. Syntax

A simple Curl applet for HelloWorld might be

This code will run if the user has at least one of the Curl versions 7.0 or 8.0 installed.

Curl provides both macros and text-procedures in addition to anonymous procedures and named methods. An alternative using the text-procedure paragraph would be:

Recently this style of layout has been adopted by "builders" in the Groovy language for the JVM, but is also familiar to users of CSS or Tcl/Tk. Most features for web applications now implemented through combinations of JavaScript libraries + HTML + CSS are already found within the Curl language, including features usually associated with Prototype + such as accordion panes.

Curl sets callbacks in the manner also adopted by Groovy:

Curl comments use the vertical bar in several variations. The simplest is as follows:


3. Curl as lightweight markup

Because Curl provides for both user-defined text procedures and stylesheets, Curl can be used readily as domain-specific lightweight markup. A major advantage over plain text HTML markup is that the text encoding can be set to UTF-8, and text entered in a Unicode-enabled editor without any escaping of characters like JavaScript, Curl is Unicode friendly. A poetry example would be:

which can initially be implemented by defining the poem and stanza markup as paragraph text formats. Stanza could be further refined to include a hidden navigation anchor for page navigation using the Curl {destination} which is itself a text procedure.

The same markup can be used for different results, as one can style text to be visible in one context and invisible in another. Curl also permits top-level file inclusion so that a source text in markup can be included in different parent files. In education, for example, one could create a source file of test questions, and include it in both a student and a teacher version of the text.

  • with dz and with tz in the revised ALMG orthography Yucatec - language programming is carried by the CDI s radio stations XEXPUJ - AM Xpujil, Campeche
  • example is aspukaspuk to be kinky hair from the stem aspuk to be curled A variety of thematic prefixes can be added to the verb stem to give the
  • In the context of programming languages reification is the process by which a user program or any aspect of a programming language that was implicit
  • Harbour is a computer programming language primarily used to create database business programs It is a modernized, open sourced and cross - platform version
  • Press. Curl John 2005 Ancient American Poets. Tempe, AZ: Bilingual Press. ISBN 1 - 931010 - 21 - 8. Dienhart, John M. 1997 The Mayan Languages - A Comparative
  • of programming languages strings compares the features of string data structures or text - string processing for over 52 various computer programming languages
  • Tiếng Viet is an Austroasiatic language that originated in Vietnam, where it is the national and official language Spoken natively by an estimated
  • Oromo ˈɒrəmoʊ or ɔːˈroʊmoʊ Oromo: Afaan Oromoo is an Afroasiatic language native to the Ethiopian state of Oromia and spoken predominantly by the

Users also searched:

curl command software, curl pdf, curl tools, curl - x post, gnu curl,