<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mw.hh.se/wg211/index.php?action=history&amp;feed=atom&amp;title=WG211%2FM7Sloane</id>
	<title>WG211/M7Sloane - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://mw.hh.se/wg211/index.php?action=history&amp;feed=atom&amp;title=WG211%2FM7Sloane"/>
	<link rel="alternate" type="text/html" href="http://mw.hh.se/wg211/index.php?title=WG211/M7Sloane&amp;action=history"/>
	<updated>2026-04-05T22:43:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://mw.hh.se/wg211/index.php?title=WG211/M7Sloane&amp;diff=243&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://mw.hh.se/wg211/index.php?title=WG211/M7Sloane&amp;diff=243&amp;oldid=prev"/>
		<updated>2011-12-12T10:06:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:WG211]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h1&amp;gt;A Pure Object-Oriented Embedding of Attribute Grammars&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Anthony Sloane&amp;lt;/h3&amp;gt;&lt;br /&gt;
Macquarie University&lt;br /&gt;
&lt;br /&gt;
(joint work with Lennart Kats and Eelco Visser, TU Delft)&lt;br /&gt;
&lt;br /&gt;
Attribute grammars are a powerful specification paradigm for many&lt;br /&gt;
language processing tasks, particularly semantic analysis of&lt;br /&gt;
programming languages. Recent attribute grammar systems use dynamic&lt;br /&gt;
scheduling algorithms to evaluate attributes by need. In this talk,&lt;br /&gt;
we show how to remove the need for a generator, by embedding a dynamic&lt;br /&gt;
approach in a modern, object-oriented programming language to&lt;br /&gt;
implement a small, lightweight attribute grammar library. The Kiama&lt;br /&gt;
attribution library has similar features to current generators,&lt;br /&gt;
including cached, uncached, circular, higher-order and parameterised&lt;br /&gt;
attributes, and implements new techniques for dynamic extension and&lt;br /&gt;
variation of attribute equations. We use the Scala programming&lt;br /&gt;
language because of its combination of object-oriented and functional&lt;br /&gt;
features, support for domain-specific notations and emphasis on&lt;br /&gt;
scalability. Unlike generators with specialised notation, Kiama&lt;br /&gt;
attribute grammars use standard Scala notations such as&lt;br /&gt;
pattern-matching functions for equations. A small performance analysis&lt;br /&gt;
shows that our approach is practical for realistic language processing.&lt;br /&gt;
&lt;br /&gt;
* [[Media:sloane-wg09.pdf | sloane-wg09.pdf ]]: Slides&lt;br /&gt;
&lt;br /&gt;
==File Attachments== &lt;br /&gt;
&lt;br /&gt;
*[[Media:sloane-wg09.pdf | sloane-wg09.pdf]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>