User loginNavigation |
Logic/DeclarativeApplication-specific foreign-interface generationApplication-specific foreign-interface generation, John Reppy and Chunyan Song, October 2006.
FFIs are a perennial engineering problem, and it's very nice to see progress being made on automating what's automatable about building interfaces. Their interface specification language is built from two little DSLs. The first one is a language that for specifying how to map low level types to high level types, and the second one is a rewriting-based language for translating API functions, which makes use of the type mapping programs you defined earlier. The whole thing is quite pretty, and seems to read very well. An interesting gimme for you stack-language fans: the DSL that Reppy and Song use to specify type mappings from low-level to high-level types is a combinator-based language that reads a bit like Forth or Postscript. By neelk at 2007-06-20 20:52 | DSL | Functional | Implementation | Logic/Declarative | Semantics | 3 comments | other blogs | 6941 reads
Python in Pardus LinuxPardus Linux is a case study of functional Python. It's a Linux distribution built from semi-scratch, the main focii being package management and init subsystems - places where C and shell script make poor sense. A funded group has finally tackled these issues.
A package management software deals a lot with sets, lists, and dependency graphs....We have extensively used functional operators (map, filter, reduce) and list comprehensions, even metaclasses are used in a few places. Someone nudge Guido. Scheme or Oz might have been the better choice, but give them credit. They admit frankly to social acceptance issues. By Mark Evans at 2007-06-19 22:55 | Logic/Declarative | Object-Functional | Python | XML | 8 comments | other blogs | 13049 reads
Solving a Sudoku with one SQL-statementDoing strange things with SQL is always fun... This Sudoku solver makes use of Oracle 10g's MODEL clause, which seems quite hairy. SQL isn't mentioned around here all that often, so I am glad we can at least remind ourselves from time to time of the most heavily used declarative language out there by posting SQL puzzles and hacks... Foundations Of Temporal Query Languages
Foundations Of Temporal Query Languages
by David Toman, 1995.
In recent years, there have been numerous proposals that introduce time into standard relational systems. Unfortunately, most of the attempts have been based on ad-hoc extensions of existing database systems and query languages, e.g., TQUEL and TSQL. Such extensions often create many problems, when precise semantics needs to be developed, if one exists at all. In a recent survey by J. Chomicki, a clean way of defining temporal databases based on logic was proposed. This methodology views temporal databases as multi-sorted, finitely representable first-order structures. Query languages then became formulas in suitable logics over the vocabulary of such structures. By Andris Birkmanis at 2007-05-09 10:33 | Logic/Declarative | login or register to post comments | other blogs | 5746 reads
The Design and Implementation of a Dataflow Language for Scriptable DebuggingThe Design and Implementation of a Dataflow Language for Scriptable Debugging, Guillaume Marceau, Gregory H. Cooper, Jonathan P. Spiro, Shriram Krishnamurthi, and Steven P. Reiss.
We've seen a paper on compiling dataflow languages, so here's one on an interesting application. By neelk at 2007-02-20 02:06 | DSL | Functional | Implementation | Logic/Declarative | Software Engineering | 8 comments | other blogs | 11653 reads
Lowering: A Static Optimization Technique for Transparent Functional ReactivityLowering: A Static Optimization Technique for Transparent Functional Reactivity, Kimberley Burchett, Gregory H. Cooper, and Shriram Krishnamurthi. PEPM 2007.
Whenever I read about compiler optimizations, I try (with mixed success) to relate them to transformations in the lambda calculus. I haven't managed to figure out what's going on with the By neelk at 2007-02-15 17:22 | Functional | Implementation | Logic/Declarative | 10 comments | other blogs | 11064 reads
Extending Prolog with Incomplete Fuzzy InformationExtending Prolog with Incomplete Fuzzy Information. Susana Munoz-Hernandez, Claudio Vaucheret. 2005.
A project of related interest is Fril which as far as I remember wasn't discussed here. Recursion Parallel Prolog
The Reform Prolog project ended in 1996 and somehow morphed into the High Performance Erlang project (which should be no surprise, as Erlang has clear roots in the Prolog world, though the concurrency model is different). By James Hague at 2006-12-01 22:58 | Logic/Declarative | login or register to post comments | other blogs | 10041 reads
LogFun - Building Logics by Composing Functors
Logic Functors: A Toolbox of Components for Building Customized and Embeddable Logics - Sébastien Ferré and Olivier Ridoux :
Here's a bit more from the documentation (PDF): Logic Functors form a framework for specifying new logics, and deriving automatically theorem provers and consistency/completeness diagnoses. Atomic functors are logics for manipulating symbols and concrete domains, while other functors are logic transformers that may add connectives or recursive structures, or may alter the semantics of a logic. The semantic structure of the framework is model theoretic as opposed to the verifunctional style often used in classical logic. This comes close to the semantics of description logics, and we show indeed that the logic ALC can be rebuilt using logic functors. This offers the immediate advantage that variants of ALC can be explored and implemented almost for free. The use of OCaml functors here may be interesting even for those who aren't into logic languages. The system allows new logics to be created in OCaml itself, by simply composing OCaml functors. This is covered further in Implementation as ML Functors. The quickest way to get a feel for what this system does is to look at the examples. (If the story subject line looks familiar to anyone, I was recently reading Guy Steele's Building Interpreters by Composing Monads...) By Anton van Straaten at 2006-10-13 02:18 | DSL | Logic/Declarative | login or register to post comments | other blogs | 8135 reads
SecPAL: Design and Semantics of a Decentralized Authorization LanguageSecPAL: Design and Semantics of a Decentralized Authorization Language. Moritz Y. Becker; Andrew D. Gordon; Cédric Fournet. September 2006
The SecPAL project lives here (MSR). The project aims are to develop a language for expressing decentralized authorization policies, and to investigate language design and semantics, as well as related algorithms and analysis techniques. |
Browse archives
Active forum topics |
Recent comments
18 hours 27 min ago
20 hours 15 min ago
17 weeks 5 days ago
17 weeks 5 days ago
17 weeks 5 days ago
23 weeks 6 days ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 34 weeks ago