144 research outputs found

    Context in Parsing: Techniques and Applications

    Get PDF

    Embedding attribute grammars and their extensions using functional zippers

    Get PDF
    Attribute grammars are a suitable formalism to express complex software language analysis and manipulation algorithms, which rely on multiple traversals of the underlying syntax tree. Attribute grammars have been extended with mechanisms such as reference, higher order and circular attributes. Such extensions provide a powerful modular mechanism and allow the specification of complex computations. This paper studies an elegant and simple, zipper-based embedding of attribute grammars and their extensions as first class citizens. In this setting, language specifications are defined as a set of independent, off-the-shelf components that can easily be composed into a powerful, executable language processor. Techniques to describe automatic bidirectional transformations between grammars in this setting are also described. Several real examples of language specification and processing programs have been implemented. (C) 2016 Elsevier B.V. All rights reserved.This author is supported by ERDF - European Regional Development Fund through the COMPETE Programme (operational programme for competitiveness) and by National Funds through the FCT - Fundacao para a Ciencia e a Tecnologia (Portuguese Foundation for Science and Technology) within project ON.2 IC&DT Programa Integrado "BEST CASE - Better Science Through Cooperative Advanced Synergetic Efforts (Ref. BIM-2013_BestCase_RL3.2_UMINHO) and project FATBIT - Foundations, Applications and Tools for Bidirectional Transformation (Ref. FCOMP-01-0124-FEDER-020532).This author is partially supported by NSF Award #1047961

    Generating attribute grammar-based bidirectional transformations from rewrite rules

    Get PDF
    Higher order attribute grammars provide a convenient means for specifying uni-directional transformations, but they provide no direct support for bidirectional transformations. In this paper we show how rewrite rules (with non-linear right hand sides) that specify a forward/get transformation can be inverted to specify a partial backward/put transformation. These inverted rewrite rules can then be extended with additional rules based on characteristics of the source language grammar and forward transformations to create, under certain circumstances, a total backward transformation. Finally, these rules are used to generate attribute grammar specifications implementing both transformations.This work is partly funded by the following projects: European Regional Development Fund (ERDF) through the program COMPETE, project reference FCOMP-01-0124-FEDER-020532, by the North Portugal Regional Operational Programme (ON.2 - O Novo Norte); under the National Strategic Reference Framework (NSRF), through the ERDF, project reference RL3 SENSING NORTE-07-0124-FEDER-000058; by the Portuguese Government through FCT (Foundation for Science and Technology); by the U.S. National Science Foundation (NSF) award No. 0905581 and 1047961; and by the FLAD/NSF program Portugal-U.S. Research Networks 2011

    Mixed methods evaluation of targeted selective anthelmintic treatment by resource-poor smallholder goat farmers in Botswana

    Get PDF
    AbstractDue to the threat of anthelmintic resistance, livestock farmers worldwide are encouraged to selectively apply treatments against gastrointestinal nematodes (GINs). Targeted selective treatment (TST) of individual animals would be especially useful for smallholder farmers in low-income economies, where cost-effective and sustainable intervention strategies will improve livestock productivity and food security. Supporting research has focused mainly on refining technical indicators for treatment, and much less on factors influencing uptake and effectiveness. We used a mixed method approach, whereby qualitative and quantitative approaches are combined, to develop, implement and validate a TST system for GINs in small ruminants, most commonly goats, among smallholder farmers in the Makgadikgadi Pans region of Botswana, and to seek better understanding of system performance within a cultural context. After the first six months of the study, 42 out of 47 enrolled farmers were followed up; 52% had monitored their animals using the taught inspection criteria and 26% applied TST during this phase. Uptake level showed little correlation with farmer characteristics, such as literacy and size of farm. Herd health significantly improved in those herds where anthelmintic treatment was applied: anaemia, as assessed using the five-point FAMACHA© scale, was 0.44–0.69 points better (95% confidence interval) and body condition score was 0.18–0.36 points better (95% C.I., five-point scale) in treated compared with untreated herds. Only targeting individuals in greatest need led to similar health improvements compared to treating the entire herd, leading to dose savings ranging from 36% to 97%. This study demonstrates that TST against nematodes can be implemented effectively by resource-poor farmers using a community-led approach. The use of mixed methods provides a promising system to integrate technical and social aspects of TST programmes for maximum uptake and effect

    The South African SHARE-TAVI registry: incidence and risk factors leading to conduction disturbances requiring permanent pacemaker implantation

    Get PDF
    Background: One of the most common complications post transcatheter aortic valve implantation (TAVI) is the development of heart block requiring permanent pacemaker implantation (PPM). The incidence of PPM in international registries ranges from 13% - 17.5%. Methods: The aim of this observational study was to report the PPM rate in the SHARE-TAVI registry and determine the clinical, electrocardiographic and procedural predictors of PPM as well as the effect of PPM on clinical outcomes. Results: Three hundred and fi ve subjects were analysed. The PPM rate was 9%. Third degree atrioventricular block at the time of implant was the most common indication for PPM. Self-expanding valves (PPM rate 14% vs. 6% for balloon-expandable valves, p=0.02) were correlated with the need for PPM. Baseline ECG predictors of PPM were axis deviation, QRS duration and conduction delay, most notably a pre-existing right bundle branch block (OR 15.88, p<0.01). PPM infl uenced functional class at 30 days, but not the need for repeat hospitalisation or mortality at 30-day and 1-year follow-up. Conclusions: A PPM rate lower than that reported in large international registries was found. Predictors of PPM and the infl uence of PPM on outcomes were similar to those reported in the international data

    Prediction and attenuation of seasonal spillover of parasites between wild and domestic ungulates in an arid mixed-use system

    Get PDF
    Transmission of parasites between host species affects host population dynamics, interspecific competition, and ecosystem structure and function. In areas where wild and domestic herbivores share grazing land, management of parasites in livestock may affect or be affected by sympatric wildlife due to cross-species transmission.We develop a novel method for simulating transmission potential based on both biotic and abiotic factors in a semi-arid system in Botswana. Optimal timing of antiparasitic treatment in livestock is then compared under a variety of alternative host scenarios, including seasonally migrating wild hosts.In this region, rainfall is the primary driver of seasonality of transmission, but wildlife migration leads to spatial differences in the effectiveness of treatment in domestic animals. Additionally, competent migratory wildlife hosts move parasites across the landscape.Simulated transmission potential matches observed patterns of clinical disease in livestock in the study area. Increased wildlife contact is correlated with a decrease in disease, suggesting that non-competent wild hosts may attenuate transmission by removing infective parasite larvae from livestock pasture.Optimising the timing of treatment according to within-year rainfall patterns was considerably more effective than treating at a standard time of year. By targeting treatment in this way, efficient control can be achieved, mitigating parasite spillover from wildlife where it does occur. Synthesis and applications. This model of parasite transmission potential enables evidence-based management of parasite spillover between wild and domestic species in a spatio-temporally dynamic system. It can be applied in other mixed-use systems to mitigate parasite transmission under altered climate scenarios or changes in host ranges

    The Ursinus Weekly, November 1, 1973

    Get PDF
    UN Day held at UC • USGA-Union lock horns over new rep. position • SFARC elections held; warning system set • Protheatre productions scheduled for weekend • Musicians initiated into Pi Nu Epsilon • Editorial: The American Film Theatre; New furniture in Wilkinson lounge • Letters to the editor: Jazz fan responds; Starving student complains; Mr. Self speaks • Alumni corner • Jazz: Herman Herd in motion • Faculty Portrait: Dr. Peter G. Jessup • A discourse on mental divorce • Billy Jack • Ursinus downs U of P; then falls to Rams • Bears lose fifth game to a tough Widener teamhttps://digitalcommons.ursinus.edu/weekly/1004/thumbnail.jp

    A principled approach to REPL interpreters

    Get PDF
    Read-eval-print-loops (REPLs) allow programmers to test out snippets of code, explore APIs, or even incrementally construct code, and get immediate feedback on their actions. However, even though many languages provide a REPL, the relation between the language as is and what is accepted at the REPL prompt is not always well-defined. Furthermore, implementing a REPL for new languages, such as DSLs, may incur significant language engineering cost. In this paper we survey the domain of REPLs and investigate the (formal) principles underlying REPLs. We identify and define the class of sequential languages, which admit a sound REPL implementation based on a definitional interpreter, and present design guidelines for extending existing language implementations to support REPL-style interfaces (including computational notebooks). The obtained REPLs can then be generically turned into an exploring interpreter, to allow exploration of the user’s interaction.The approach is illustrated using three case studies, based on MiniJava, QL (a DSL for questionnaires), and eFLINT (a DSL for normative rules). We expect sequential languages, and the consequent design principles, to be stepping stones towards a better understanding of the essence of REPLs.</p

    Multiwavelength Monitoring of the BL Lacertae Object PKS 2155-304 in May 1994. I. The Ground-Based Campaign

    Full text link
    Optical, near-infrared, and radio observations of the BL Lac object PKS2155-304 were obtained simultaneously with a continuous UV/EUV/X-ray monitoring campaign in 1994 May. Further optical observations were gathered throughout most of 1994. The radio, millimeter, and near-infrared data show no strong correlations with the higher energies. The optical light curves exhibit flickering of 0.2-0.3 mag on timescales of 1-2 days, superimposed on longer timescale variations. Rapid variations of ~0.01 mag/min, which, if real, are the fastest seen to date for any BL Lac object. Small (0.2-0.3 mag) increases in the V and R bands occur simultaneously with a flare seen at higher energies. All optical wavebands (UBVRI) track each other well over the period of observation with no detectable delay. For most of the period the average colors remain relatively constant, although there is a tendency for the colors (in particular B-V) to vary more when the source fades. In polarized light, PKS 2155-304 showed strong color dependence and the highest optical polarization (U = 14.3%) ever observed for this source. The polarization variations trace the flares seen in the ultraviolet flux.Comment: 45 pages, latex file with encapsulated postscript, accepted to the Astrophysical Journa

    Educational outreach in an integrated clinical management tool for nurse-led non-communicable chronic disease management in primary care in South Africa: pragmatic cluster randomised controlled trial

    Get PDF
    Background: In many low-income countries, care for patients with non-communicable diseases (NCDs) and mental health conditions is provided by nurses. The benefits of nurse substitution and supplementation in NCD care in high income settings are well recognised, but evidence from low- and middle-income countries is limited. Primary Care 101 (PC101) is a programme designed to support and expand nurses’ role in NCD care, comprising a clinical management tool with enhanced prescribing provisions for nurses, and educational outreach. We evaluated the effectiveness of the programme on primary care nurses’ capacity to manage NCDs (ISRCTN20283604). Methods and findings: In a cluster randomised controlled trial design, 38 public sector primary care clinics in the Western Cape province, South Africa, were randomised. Nurses in the intervention clinics were trained to use the PC101 management tool during educational outreach sessions delivered by health department trainers and authorised to prescribe an expanded range of drugs for several NCDs. Control clinics continued use of the Practical Approach to Lung Health and HIV /AIDS in South Africa (PALSA PLUS) management tool and usual training. Patients attending these clinics with one or more of hypertension (3227), diabetes (1842), chronic respiratory disease (1157) or screened positive for depression (2466), totalling 4393 patients, were enrolled between March 2011 and October 2011. Primary outcomes were treatment intensification for hypertension, diabetes, and chronic respiratory disease cohorts, defined as the proportion of patients in whom treatment was escalated during follow-up over 14 months, and case detection in the depression cohort. Primary outcome data were analysed for 2110 (97%) intervention and 2170 (97%) control group patients. Treatment intensification rates in intervention clinics were not superior to those in the control group clinics [hypertension: 44% in the intervention group versus 40% in the controls, risk ratio (RR) 1.08 (95% CI: 0.94 to 1.24; p=0.252); diabetes: 57% v 50%, RR 1.10 (0.97 to 1.24;p=0.126); chronic respiratory disease: 14% v 12%, RR 1.08 (0.75 to 1.55; p=0.674); and case detection of depression: 18% v 24%, RR 0.76 (0.53 to 1.10; p=0.142)]. No adverse effects of the nurses’ expanded scope of practice were observed. Limitations of the study include dependence on self-reported diagnoses for inclusion in the patient cohorts, limited data on uptake of PC101 by users, reliance on process outcomes, and insufficient resources to measure important health outcomes, such as HbA1c, at follow-up. Conclusions: Educational outreach to primary care nurses through use of a management tool involving an expanded role in managing NCDs, is feasible and safe but was not associated with treatment intensification or case detection for index diseases. This notwithstanding, the intervention, with adjustments to improve its effectiveness, has been adopted for implementation in primary care clinics throughout South Africa
    corecore