| | |
| | |
Stat |
Members: 3645 Articles: 2'503'724 Articles rated: 2609
23 April 2024 |
|
| | | |
|
Article overview
| |
|
Lightweight compilation of (C)LP to JavaScript | Jose F. Morales
; Rémy Haemmerlé
; Manuel Carro
; Manuel V. Hermenegildo
; | Date: |
10 Oct 2012 | Abstract: | We present and evaluate a compiler from Prolog (and extensions) to JavaScript
which makes it possible to use (constraint) logic programming to develop the
client side of web applications while being compliant with current industry
standards. Targeting JavaScript makes (C)LP programs executable in virtually
every modern computing device with no additional software requirements from the
point of view of the user. In turn, the use of a very high-level language
facilitates the development of high-quality, complex software. The compiler is
a back end of the Ciao system and supports most of its features, including its
module system and its rich language extension mechanism based on packages. We
present an overview of the compilation process and a detailed description of
the run-time system, including the support for modular compilation into
separate JavaScript code. We demonstrate the maturity of the compiler by
testing it with complex code such as a CLP(FD) library written in Prolog with
attributed variables. Finally, we validate our proposal by measuring the
performance of some LP and CLP(FD) benchmarks running on top of major
JavaScript engines. | Source: | arXiv, 1210.2864 | Services: | Forum | Review | PDF | Favorites |
|
|
No review found.
Did you like this article?
Note: answers to reviews or questions about the article must be posted in the forum section.
Authors are not allowed to review their own article. They can use the forum section.
browser Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
|
| |
|
|
|
| News, job offers and information for researchers and scientists:
| |