User loginNavigation |
archivesOptimization - Symmetric ReductionsI notice in stack based languages certain symmetric programs reduce to no-ops: f1 = [swap swap] = [] f2 = [dup pop] = [] f3 = [cons uncons] = [] f4 = [dup swap cons uncons swap pop] = [dup swap swap pop] = [dup pop] = [] So how much of this is blindingly obvious to the research community? It seems that this must be much harder to detect in non stack based languages. Building Interpreters by Composing MonadsBuilding Interpreters by Composing Monads
So actually it is about building interpreters by composing pseudomonads. PS: I stumbled upon this paper while trying to factor an interpreter into a set of features (and yes, I tried to package them as monads). By Andris Birkmanis at 2006-05-11 12:29 | Implementation | Semantics | Type Theory | 19 comments | other blogs | 13204 reads
Links to research on/in ....Hi i'm looking for literature and/or research on/in programming language design, implementation, etc, etc specifically in the domain of numerical analysis and scientific computing in general. There seems to be a lack or slow down in development of array functional languages. From what i've investigated/researched already constraint-based programming is very well suited to numerical analysis problems and i can find alot of literature in that department. I'm kind of curious of the possibility of a new language that is an array functional language which is purely functional, supports constraint-based programming, light-weight dependently typed type system, some kind of effects system in the type system for controlled, localized side-effects. I know you probably think i'm crazy but i'm just curious :-) By snk_kid at 2006-05-11 14:37 | LtU Forum | login or register to post comments | other blogs | 5409 reads
The case for Semantic AnalysisHow to statically ensure software reliability is aimed mostly at C programmers in the embedded space:
There is a conspicuous silence in the article on how PLs might help the tools. And I can't help but think that the static semantic analysis amounts to Constraint Programming (propagate and branch). really simple list/newline oriented languageFirst, thanks all to those responded to my post awhile ago. I picked a few brains and got some help, sorry if I didn't get a chance to write back to you. So I am trying to make a very simple list oriented language (well more like preprocessor ala m4), I think there is a very "natural" solution (something that basically writes itself) to what I am looking for, but I was wondering if I could get some (more) help fleshing out the idea. Basically, I would just want to define list assignment, functions and function application over lists that is very \n delimiter oriented, with the default interpolation behaviour to take cross-products. This would be pseudo example, the idea being that the syntax would be very lightweight over a normal text file... denotes output
I am not sure exactly how well I've thought this out, but it gives you an idea...it's basically just subsitition with and emphasis on cross products that sacrifices some flexibility for simplicity by imposing things like new line delimiters. I would just need to be able to define lists function and apply them appropriately. I can kinda see that by imposing newlines, I could swallow things one line at a time, but I keep thinking in terms of encoding an FSM with a bunch of "if" statements... Should this be a peice of cake using something like recdescent? I would be cool if this was just basically something like a syntax modified perl, so that I could define functions with all the normal goodies. Many thanks for any advice. |
Browse archivesActive forum topics |
Recent comments
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 7 hours ago
50 weeks 7 hours ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago