Ubercode

Ubercode

Ubercode is a high level platform-sharing programming language designed by [http://www.ubercode.com/ Ubercode Software] and released in 2005 for Microsoft Windows. Ubercode is influenced by the Eiffel and BASIC. It has the following design goals:

#"Compilable language" - compiled into Windows EXE files.
#"Automatic memory management" - memory is allocated / freed automatically, and the language has no memory management primitives.
#"Pre and post conditions" - these are run-time assertions which are attached to function declarations, as in Eiffel.
#"High-level data types" - resizable arrays, lists and tables may contain arbitrary components.
#"Integrated file handling" - primitives for transparent handling of text, binary, CSV, XML and dBase files.
#"Ease of use" - language structure is relatively simple, making the language accessible to beginners.

Hello World

Here is the basic Hello world program:

Ubercode 1 class Hello

public function main() code call Msgbox("Hello", "Hello World!") end function

end class

Preconditions and Postconditions

Here is an example using pre- and postconditions. In the example, the "IntToStr" function validates its input as a string before converting it to an integer:

Ubercode 1 class PrePost

function IntToStr(in mystr:string [*] out value:integer) precond IsDigitStr(mystr) code call Val(mystr, value) end function

public function main() code call Msgbox("OOP example", "IntToStr(10) = " + IntToStr("10")) end function

end class

External links

* http://www.ubercode.com/ - Ubercode Software
** [http://www.ubercode.com/downloads/Ubercode-language-report.pdf Language report] - PDF copy of Language Reference Manual
* http://isbndb.com/d/book/design_of_very_high_level_computer_languages.html - VHLL principles


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • List of programming languages by category — Programming language lists Alphabetical Categorical Chronological Generational This is a list of programming languages grouped by category. Some languages are listed in multiple categories. Contents …   Wikipedia

  • Object-oriented programming language — An object oriented programming language (also called an OO language ) is one that allows or encourages, to some degree, object oriented programming techniques such as encapsulation, inheritance, modularity, and polymorphism. Simula (1967) is… …   Wikipedia

  • List of programming languages — Programming language lists Alphabetical Categorical Chronological Generational The aim of this list of programming languages is to include all notable programming languages in existence, both those in current use and historical ones, in… …   Wikipedia

  • Generational list of programming languages — Here, a genealogy of programming languages is shown. Languages are categorized under the ancestor language with the strongest influence. Of course, any such categorization has a large arbitrary element, since programming languages often… …   Wikipedia

  • Compiled language — A compiled language is a programming language whose implementations are typically compilers (translators which generate machine code from source code), and not interpreters (step by step executors of source code, where no translation takes place) …   Wikipedia

  • Epigenetik — Die Epigenetik ist ein Spezialgebiet der Biologie. Sie befasst sich mit Zelleigenschaften (Phänotyp), die auf Tochterzellen vererbt werden und nicht in der DNA Sequenz (dem Genotyp) festgelegt sind. Hierbei erfolgen Veränderungen an den… …   Deutsch Wikipedia

  • Liste des langages de programmation — Le but de cette Liste des langages de programmation est d inclure tous les langages de programmation existants, qu ils soient actuellement utilisés ou historiques, par ordre alphabétique. Ne sont pas listés ici les langages informatiques de… …   Wikipédia en Français

  • Список языков программирования — Списки языков программирования Алфавитный По категориям Хронологический Генеалогический Цель этого алфавитного списка языков программирования состоит в том, чтобы дать полный перечень всех существующих языков программирования, как используемых в… …   Википедия

  • Компилируемый язык программирования — Компилируемый язык программирования  язык программирования, исходный код которого преобразуется компилятором в машинный код и записывается в файл, с особым заголовком и/или расширением, для последующей идентификации этого файла, как… …   Википедия

  • Генеалогический список языков программирования — Списки языков программирования По категориям Хронологический Генеалогический Приведён генеалогический список языков программирования. Языки классифицируются в соответствии с предшествующими языками, которые оказали сильное влияние на формирование …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”