Hop (software)
From Wikipedia, the free encyclopedia
From Wikipedia, the free encyclopedia
Hop is a Lisp-like programming language by Manuel Serrano for web 2.0 and also the name of the web broker (server and proxy) that implements this language. It is written in Bigloo Scheme. It is a project funded by INRIA.
![]() |
![]() | |
Paradigm | multi-paradigm |
---|---|
Designed by | Manuel Serrano |
First appeared | 2006 |
Stable release | 2.4.2
/ September 23, 2013 |
Typing discipline | strong, dynamic |
License | GPL 2+ |
Website | hop |
Influenced by | |
Scheme[1] |
Formation | 1967 |
---|---|
Purpose | Research |
Region served | France |
Hop is a stratified language, which means that a single program file contains instructions for both the server and the client. The server executes CPU demanding computations and operations that require system privileges for accessing files or other resources. The clients (of which there may be many such as browsers, cell phones, etc.) are dedicated to executing actions related to the programming of the graphical user interfaces.
(define-service (server-date) ; 1
(current-date)) ; 2
(<HTML> ; 4
(<BUTTON> ; 5
:onclick ~(with-hop ($server-date) ; 6
(lambda (h) (alert h))) ; 7
"Server time")) ; 8
The code snippet above illustrates a few concepts.
Given its recent introduction, Hop currently exhibits a number of weaknesses.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.