Abstract

The article considers the capacities of “Minus stroke-operation”, which was introduced as the inverse of “stroke-operation” (dereferencing a pointer).Addressing higher ranks Address Programming is based on “stroke-operation” and, in contrast to the dereference (or indirection) operator, allows you to specify the rank of addressing, which can be both an integer value or an expression of integer type. The paper gives an example of using a “stroke-operation” to obtain the address of an arbitrary element of a linear single-linked list by its sequence number. The dereference operator of modern programming languages does not allow to make it and demands implementation with use of a cycle.“Minus stroke operation” operation is not used in imperative high-level programming languages, be- cause it belongs to the declarative paradigm of programming.Address programming language has the dynamic types of data, which are based on “minus stroke-operation”.This article provides some specific examples of the use of “minus stroke-operation” in the Address Programming language and compares the capabilities of this operation with some modern declarativeprogramming tools. From the above examples it follows the universal power of “minus stroke-operation” as a tool of declarative programming.The paper presents an example of tree representation using “minus stroke-operation”. In Address Programming, you can represent trees by defining only the vertex parents. The result of applying to the address of the node “minus the stroke-operation” is a set of sons of this node. An example of a tree representation in the Address Programming Language with parent-only indication is given.The Address Programming Language is multi-conceptual and combines the concepts of imperative and declarative programming. The basis of the declarative concept of Address Programming (1955) is “minus stroke-operation”.Manuscript received 11.06.2020

Highlights

  • На прикладі продемонстровано, що для отримання адреси лінійного однозв’язного списку в Адресному програмуванні можна вказати порядковий номер цього вузла у списку

  • Для розуміння типів даних третього рівня дамо чітке визначення «мінус штрих-операції» і наведемо приклади її використання

  • – Mode of access: https:// medium.com/a-computer-of-ones-own/kateryna-l-yushchenkoinventor-of-pointers-6f2796fa1798?fbclid=IwAR3fcqmC0COfy 5EqyIHBrlQhCpno5MUFZjCUQ-SM-v-xhD0g3xbj_P2SRCM

Read more

Summary

Типи даних в Адресному програмуванні

В Адресному програмуванні, як і в мові програмування Python, використовують неявну типізацію даних. Цими значеннями можуть бути: а) скалярні значення: числові, булеві та інші типи Які визначають область доступності, належать арифметичні операції над адресами, «штрих-операція», «мінус штрих-­ операція» та інші адресні функції, які визначені в адресній програмі. При визначенні адресних функцій можна використовувати інші функції Адресної мови програмування, як-от предикатні функції (аналог предикатів у розумінні логічного програмування); оператори засилання значень (повний аналог оператора присвоювання); розгалуження програми, можливість якого в Адресній мові надається так званими розпізнавачами (аналоги умовних операторів та умовних виразів). При визначенні адресних функцій можна використовувати усі конструкції та засоби Адресного програмування, до яких належать і теорети­ ко-множинні операції над множинами. Яке є адресою, на інше значення адреси, то область доступності може змінитися. Приклади скалярних типів даних не наводитимемо, оскільки вони нічим не відрізняються від типів даних у інших мовах програмування

Приклади типів даних Адресного програмування
Класифікація мов програмування за принципом адресності
Список літератури
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call