User loginNavigation |
archivesDesigning a Type Notation for a Stack Based Functional LanguageI am designing a dialect of Joy called 'Big Cat'. Like Joy, Big Cat is a pure stack based functional language (or concatenative language, if you like the term). This means that every function takes a single stack as a parameter, and returns a new stack as a result. Most programs expect a certain stack configuration, so I am devising a syntax for expressing the desired type configuration. One of the changes is the introducction of a type notation for operations. Here is my current proposal: swap (T, U) => (U, T); dup (T) => (T, T); dupN (int, T) => (T*); pop (T) => (); popN (int, T*) => (); if (() => T, () => U, bool) => (U|T); I welcome feedback, and suggestions. Let me know if the syntax is not intuitive and you need clarification, thanks! APL Quote Quad Call for PapersThe ACM Special Interest Group for Array Programming Languages is expanding it's scope beyone classic APL. Papers on Lush implementation or array oriented applications would be appropreate. ANNOUNCEMENT Issue 34:3 of APL QUOTE QUAD is now closed and ready for publishing. CALL FOR PAPERS APL QUOTE QUAD The next issue of APL Quote Quad is being designed. Prospective authors Submitted papers, in Microsoft Word (.doc), Rich Text Format (.rtf), Manuel Alfonseca Care must be taken to make the submitted papers self-contained, The tentative time limit for the new material is May 31st, 2006. By shrogers at 2006-05-06 21:13 | LtU Forum | login or register to post comments | other blogs | 5762 reads
|
Browse archivesActive forum topics |
Recent comments
23 weeks 17 hours ago
23 weeks 21 hours ago
23 weeks 21 hours ago
45 weeks 2 days ago
49 weeks 4 days ago
51 weeks 1 day ago
51 weeks 1 day ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago