77 resultados para Indian 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:
Air samples were collected from Jan 16 to Mar 14, 2008 onboard the Oceanic II- The Scholar Ship which navigated an east–west transect from Shanghai to Cape Verde, and polybrominated diphenyl ethers (PBDEs) were analyzed in these samples. PBDE concentrations in the atmosphere over the open seas were influenced by proximity to source areas and land, and air mass origins. The concentrations of Σ21PBDEs over the East and South China Seas, the Bay of Bengal and the Andaman Sea, the Indian Ocean, and the Atlantic Ocean were 10.8 ± 6.13, 3.22 ± 1.57, 5.12 ± 3.56, and 2.87 ± 1.81 pg m−3, respectively. BDE-47 and -99 were the dominant congeners in all the samples, suggesting that the widely used commercial penta-BDE products were the original sources. Over some parts of Atlantic and Indian Ocean, daytime concentrations of BDE-47 and BDE-99 were higher than the concentrations at night. The strong atmospheric variability does not always coincide with a diurnal cycle, but the variability in air concentrations in such remote areas of the ocean remains strong. No significant trends were found for each of PBDE congener with latitude.