47 resultados para Scandinavian languages
em BORIS: Bern Open Repository and Information System - Berna - Suiça
Resumo:
Domain-specific languages (DSLs) are increasingly used as embedded languages within general-purpose host languages. DSLs provide a compact, dedicated syntax for specifying parts of an application related to specialized domains. Unfortunately, such language extensions typically do not integrate well with the development tools of the host language. Editors, compilers and debuggers are either unaware of the extensions, or must be adapted at a non-trivial cost. We present a novel approach to embed DSLs into an existing host language by leveraging the underlying representation of the host language used by these tools. Helvetia is an extensible system that intercepts the compilation pipeline of the Smalltalk host language to seamlessly integrate language extensions. We validate our approach by case studies that demonstrate three fundamentally different ways to extend or adapt the host language syntax and semantics.
Resumo:
Grammars for programming languages are traditionally specified statically. They are hard to compose and reuse due to ambiguities that inevitably arise. PetitParser combines ideas from scannerless parsing, parser combinators, parsing expression grammars and packrat parsers to model grammars and parsers as objects that can be reconfigured dynamically. Through examples and benchmarks we demonstrate that dynamic grammars are not only flexible but highly practical.
Resumo:
Tree rings dominate millennium-long temperature reconstructions and many records originate from Scandinavia, an area for which the relative roles of external forcing and internal variation on climatic changes are, however, not yet fully understood. Here we compile 1,179 series of maximum latewood density measurements from 25 conifer sites in northern Scandinavia, establish a suite of 36 subset chronologies, and analyse their climate signal. A new reconstruction for the 1483–2006 period correlates at 0.80 with June–August temperatures back to 1860. Summer cooling during the early 17th century and peak warming in the 1930s translate into a decadal amplitude of 2.9°C, which agrees with existing Scandinavian tree-ring proxies. Climate model simulations reveal similar amounts of mid to low frequency variability, suggesting that internal ocean-atmosphere feedbacks likely influenced Scandinavian temperatures more than external forcing. Projected 21st century warming under the SRES A2 scenario would, however, exceed the reconstructed temperature envelope of the past 1,500 years.