Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there other HOL programming languages besides Caledon that are based on haskell?

There are programming languages and theorem prover based on higher order logic (HOL). Examples include Twelf, lambda prolog, Isabelle. For example Twelf is is both a programming language and a theorem prover, while Isabelle is mainly a theorem prover, but for Isabelle code extraction is available.

I am looking for a HOL programming language based on haskell. The reason is that I like, for instance, lambda prolog very much, but it is not meant as a practical programming language. Lambda prolog lacks a standard library and interfacing with external libraries doesn't seem trivial. The problem is if you need some functionality, like writing a parser for a text file, you can't interface, say, with the many available existing libraries for haskell, and further, there is no standard library so you start from scratch.

Today I came across the Caledon programming language that was implemented as a master thesis, it seems. From the github page:

Caledon is a dependently typed, polymorphic, higher order logic programming language.

This is interesting, since it is written in haskell so it should be easy to extend and interface with existing haskell libraries. But it seems that the project is in a bit early stage, I am not sure if input-output (IO) is implemented. Since I learned only today about Caledon, I think I might have missed some further projects. (BTW, I am not interested in standard logic programming languages like prolog).

Are there programming languages based on higher order logic besides Caledon that are implemented in haskell?

(I am asking for "implemented in haskell", as it is rather easy to connect programming languages that can be extracted to or are implemented in haskell. For example the Agda programming language can compile to haskell code and haskell libraries can be used conveniently and is extremly easy to use haskell libraries if you know how. Many other programming languages (e.g., ATS) I belive only provide the smallest common denominator which is a C based foreign function interface (FFI). In my eyes it is quite cumbersome to connect two higher programming languages via their respective C-based FFI interface. Thus the seemly abitrary part that "it should be implemented in haskell". Further, as a side note some users have downvoted in the past for my description of Agda as a programming language, but of course this is not true, i.e., consider Curry-Howard )

like image 996
mrsteve Avatar asked Jan 09 '15 01:01

mrsteve


People also ask

What language is similar to Haskell?

Some of the Haskell alternatives which we will be discussing are Java, Lua, Dart, Scala, Kotlin, Haxe, Nim, Asp.net, etc.

Is Haskell a dead language?

There is a dedicated, small community surrounding Haskell today, keeping it from becoming a truly dead programming language. However, while it won't disappear for a while yet, don't bank on it ever gaining the influence its designers envisioned when they introduced it in the early 1990s.

Which language is best for Web3 development?

C++ Known for its speed and efficiency, C++ is a powerful object-oriented programming language that frequently comes up in Web3.


1 Answers

"Haskabelle is a converter from Haskell source files to Isabelle/HOL theories implemented in Haskell itself."

Haskabelle

like image 104
Gergely Avatar answered Oct 07 '22 12:10

Gergely