Skip to content

Commit 3784525

Browse files
authored
Merge pull request #8150 from SimonJF/master
Add Links v.0.6
2 parents 01b3948 + d1179c9 commit 3784525

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

packages/links/links.0.6/descr

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Links is a functional programming language designed to make web programming
2+
easier.
3+
4+
Links eases building interactive web applications with significant client- and
5+
server-side components.
6+
7+
A typical, modern web program involves many "tiers": part of the program runs
8+
in the web browser, part runs on a web server, and part runs in back-end
9+
systems such as a relational database. To create such a program, the programmer
10+
must master a myriad of languages: the logic is written in a mixture of Java,
11+
Python, and Perl; the presentation in HTML; the GUI behavior in Javascript; and
12+
the queries are written in SQL or XQuery. There is no easy way to link these,
13+
for example, to be sure that an HTML form or an SQL query produces the type of
14+
data that the Java code expects. This problem is called the impedance
15+
mismatch problem.
16+
17+
Links eases the impedance mismatch problem by providing a single language for
18+
all three tiers. The system generates code for each tier; for instance,
19+
translating some code into Javascript for the browser, some into a bytecode for
20+
the server, and some into SQL for the database.
21+
22+
Links incorporates proven ideas from other programming languages:
23+
database-query support from Kleisli, web-interaction proposals from PLT Scheme,
24+
and distributed-computing support from Erlang. On top of this, it adds some new
25+
web-centric features of its own.

packages/links/links.0.6/opam

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
opam-version: "1.2"
2+
maintainer: "Jan Stolarek <jan.stolarek@ed.ac.uk>"
3+
authors: "The Links Team <links-dev@inf.ed.ac.uk>"
4+
homepage: "http://www.links-lang.org"
5+
bug-reports: "https://github.com/links-lang/links/issues"
6+
license: "GPL-2"
7+
dev-repo: "https://github.com/links-lang/links.git"
8+
available: [ ocaml-version >= "4.04" ]
9+
build: [make "nc"]
10+
install: [
11+
["cp" "links" "%{links:bin}%"]
12+
["mkdir" "-p" "%{links:lib}%"]
13+
["cp" "prelude.links" "%{links:lib}%"]
14+
["./links" "%{links:lib}%/prelude.links"]
15+
]
16+
remove: [
17+
["rm" "-f" "%{links:bin}%/links"]
18+
["rm" "-rf" "%{links:lib}%"]
19+
]
20+
depends: [
21+
"ocamlfind" {build}
22+
"deriving" {build}
23+
"lwt"
24+
"cgi"
25+
"base64"
26+
"cohttp"
27+
]
28+
depopts: ["mysql" "postgresql" "sqlite3"]

packages/links/links.0.6/url

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
http: "https://github.com/links-lang/links/archive/v0.6.tar.gz"
2+
checksum: "946128c93a53fe85cddccc43b0ed89a4"

0 commit comments

Comments
 (0)