User loginNavigation |
archivesPiSigma, a dependently typed core languageAn article (draft) titled "ΠΣ: A Core Language for Dependently Typed Programming", an online demo and a Hackage repository with source code for a type checker. To my big surprise I haven't found it on LtU. This is a proposal for a language that could serve the role the Haskell Core serves for Haskell - a small in list of features, verbose language in which we can translate higher-level concepts. This is interesting as PiSigma contains minimum features and one can play with implementation. By Serguey Zefirov at 2009-11-27 11:57 | LtU Forum | login or register to post comments | other blogs | 4996 reads
Library which provides unification of "Type Classes" in Java?Hello LtU, Please excuse me if I get my terms wrong, not a type system expert in any way. Since I don't really know what I'm talking about and what details are relevant I'll try to keep this short. I think it's best to discuss this and I'll come up with the details during the discussion. I want to "map" different "type classes" into a unified system. I understand there is no such thing as a universal type system, so I'm looking for something pragmatic. For example, I could write a class Person { String name; int age; } Would become something like:
Similarly, I could combine an XML document <person age="23" name="Meh"/> with a list of named & typed XPath expressions ("age", int, /person/@age) ("name", String, /person/@name) and view that as a similar Map. Another example would be a query on a database of similar form. I'd then like to have operations such as:
It's important that I can dynamically walk (incrementally) the structure of a type and build a user interface on that. Finally I'd like to (structurally) check equality of two types. Currently I'm trying to write this myself but there are lots of details that make this rather complex. For example, efficiently dealing with values from derived types (obtained from slice/combine operations), etc. Is there any (Java) library that does what I'm looking for? Does this sort of thing have a name? Thanks a lot for your input! Jelle. PICBIT: A Scheme System for the PIC MicrocontrollerMarc Feeley and Danny Dubé, PICBIT: A Scheme System for the PIC Microcontroller, Fourth Workshop on Scheme and Functional Programming. November 7, 2003.
A very interesting perspective on language implementation, found via @dhess and previous discussion. |
Browse archivesActive forum topics |
Recent comments
22 weeks 3 days ago
22 weeks 3 days ago
22 weeks 3 days ago
44 weeks 4 days ago
48 weeks 6 days ago
50 weeks 4 days ago
50 weeks 4 days ago
1 year 1 week ago
1 year 5 weeks ago
1 year 5 weeks ago