Lava (programming language)

From Wikipedia, the free encyclopedia

Jump to: navigation, search

Lava is an experimental, visual, object-oriented, interpreter-based programming language with an associated programming environment (LavaPE = Lava Programming Environment), which gets along without a text editor, but is totally based on structure editors. Only comments, constants and new identifiers must be entered as text.

Declarations are represented in LavaPE as tree structures whose sub-trees may be collapsed or expanded. The properties of the declared Lava entities can be edited through pop-up dialogs.

Although executable code has a traditional text representation in LavaPE, it can be edited only as complete syntactic units, rather than character by character. If you insert a new syntactic construct, it will typically contain "placeholders" (syntactic variables) which can then be replaced by concrete constructs; the latter may in turn contain syntactic variables, etc. LavaPE provides a tool button for every type of syntactic construct. A button is enabled only if it is syntactically correct to insert the associated construct at the selected place.

Further characteristic properties of Lava and LavaPE include:

  • It provides strict syntactic separation of interface (= public part) and implementation (= private part) of a Lava class.
  • It distinguishes variable "state objects" from constant "value objects". The latter cannot be modified any longer after creation/initialization.
  • It supports "virtual types": type parameters of classes and packages (= families of related classes). As a consequence, undermining of strong type checks by "type casts" is no longer required.
  • It uses recursion and logical quantifiers instead of traditional loop constructs.
  • It uses single-assignment: a value can be assigned to a variable only once within the same branch of a function.
  • It supports refactoring extensively via the LavaPE structure editors.
  • It distinguishes between constituents (= sub-objects) and object acquaintances (= pointers to independent objects). Copying and deletion of complex objects is largely facilitated in this way.

Lava is open source software using the GPL license. It runs on Microsoft Windows and Linux platforms currently. Enhancements of the LavaPE functionality and further ports are planned.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.