Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Programming languages, in particular, focussing on their semantics.
4
votes
Has anyone used Pottier and Gauthier's polymorphic defunctionalization in a modular compiler?
Now, given their encoding, it's possible to add a catch-all case to their lambda datatype that isn't a tag, but which contains a higher-order function. This means that it should be possible to use …
18
votes
Accepted
Why isn't it possible to recover/resume after an Exception?
"Resumable exceptions" are indeed a well-known idea in some programming language circles. In particular, Common Lisp has had resumable exceptions for a long time (so they are really not confined to re …
4
votes
Undecidability of program optimization
Let fill be the Turing machine that writes 1 on all positions of its output tape (it doesn't terminate, but that's not an issue). Let now syra be the machine that computes the Syracuse/Collatz sequenc …
8
votes
What's the definition of join on iso-recursive types?
I thought a bit about this and I am afraid that it is harder than it
looks -- as you suspected! In the spirit of encouraging discussion,
I'll write my chain of thoughts.
The subtyping rules are often …
3
votes
Accepted
What does x.y notation mean?
This is the notation for Harper's "abstract binding structures": x.t represents the binding site of a variable x and the term t the variable scopes over.
Apparently you are in the parts that define va …
6
votes
What's the difference between reduction strategies and evaluation strategies?
The "Reduction strategy" wikipedia article is entirely extracted out of a particular edit made by an anonymous IP to the "Evaluation strategy" article.
The view that it represents is not consensual, …
10
votes
0
answers
237
views
What is the "standard" lambda-calculus model for bicartesian closed categories?
(I'm familiar with the lambda-calculus, less so with its categorical models.)
It is well-known that cartesian-closed categories are in tight correspondence to the simply-typed lambda-calculus with fun …
12
votes
Has the semantics of TeX (as a programming language) ever been formalized?
No, to my knowledge there has been no work on formalizing TeX of the kind you are interested in.
(What follows is a subjective and personal commentary). I think it is an intriguing and well-posed ide …
6
votes
Which models of computation can be expressed through grammars?
My answer is not intented to be formal, precise and absolutely in-topic. I think Marc Hamman's answer is rock solid, but your question made me think of a related topic.
Grammars may be considered spe …
4
votes
Functions that typed lambda calculus cannot compute
One vision of the limits of strongly normalizing calculi I like is the computability angle. In a strongly normalizing typed calculus, such as the core simply-typed lambda calculus, System F, or Calcul …
5
votes
How should I think about proof nets?
There has been interesting work recently on making the relation between proof net and focused calculi tighter, using "multi-focused" variants where you may have several simultaneous left holes, and st …
6
votes
Accepted
How to specify and verify Horn clauses (logic programming programs)? Semantics of Horn clauses
You should have a look at Uniform Proofs as a Foudation for Logic Programming by Dale Miller, Gopalan Nadathur, Frank Pfenning and Andre Scedrov, 1991. The idea of this work and the rich area that has …
6
votes
Efficiently ordering typed programs
Two remarks first:
I have used the "randomly generate terms and check that they are well-typed" approach (you mention that "untyped" terms are generated, you can also randomly generate terms in a Ch …
5
votes
Density of semantics in syntax
Let's look at a simple example of a toy programming language with unary natural numbers and a "predecessor" operation.
$$t ::= 0 \mid S~t \mid p~t$$
whose semantics is given by the following rewrite r …
5
votes
Can concurrency models be compared in terms of some metrics?
There are no metrics, but an excellent discussion of many concurrency models, in Tony Garnock-Jones PhD thesis. See the (HTML version of the) chapter "Approaches to coordination". This studies concurr …