We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: On the Learnability of Programming Language Semantics

Authors: Dan R. Ghica (1), Khulood Alyahya (2) ((1) University of Birmingham, (2) University of Exeter)
Abstract: Game semantics is a powerful method of semantic analysis for programming languages. It gives mathematically accurate models ("fully abstract") for a wide variety of programming languages. Game semantic models are combinatorial characterisations of all possible interactions between a term and its syntactic context. Because such interactions can be concretely represented as sets of sequences, it is possible to ask whether they can be learned from examples. Concretely, we are using long short-term memory neural nets (LSTM), a technique which proved effective in learning natural languages for automatic translation and text synthesis, to learn game-semantic models of sequential and concurrent versions of Idealised Algol (IA), which are algorithmically complex yet can be concisely described. We will measure how accurate the learned models are as a function of the degree of the term and the number of free variables involved. Finally, we will show how to use the learned model to perform latent semantic analysis between concurrent and sequential Idealised Algol.
Comments: In Proceedings ICE 2017, arXiv:1711.10708
Subjects: Programming Languages (cs.PL)
Journal reference: EPTCS 261, 2017, pp. 57-75
DOI: 10.4204/EPTCS.261.7
Cite as: arXiv:1708.02319 [cs.PL]
  (or arXiv:1708.02319v2 [cs.PL] for this version)

Submission history

From: EPTCS [view email]
[v1] Mon, 7 Aug 2017 22:04:30 GMT (844kb,D)
[v2] Fri, 1 Dec 2017 05:19:42 GMT (173kb,D)

Link back to: arXiv, form interface, contact.