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 | 5756 reads
|
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