Open Access. Powered by Scholars. Published by Universities.®

Engineering Commons

Open Access. Powered by Scholars. Published by Universities.®

Articles 1 - 2 of 2

Full-Text Articles in Engineering

A Constraint Language For Static Semantic Analysis Based On Scope Graphs, Hendrik Van Antwerpen, Pierre Néron, Andrew Tolmach, Eelco Visser, Guido Wachsmuth Sep 2015

A Constraint Language For Static Semantic Analysis Based On Scope Graphs, Hendrik Van Antwerpen, Pierre Néron, Andrew Tolmach, Eelco Visser, Guido Wachsmuth

Computer Science Faculty Publications and Presentations

In previous work, we introduced scope graphs as a formalism for describing program binding structure and performing name resolution in an AST-independent way. In this paper, we show how to use scope graphs to build static semantic analyzers. We use constraints extracted from the AST to specify facts about binding, typing, and initialization. We treat name and type resolution as separate building blocks, but our approach can handle language constructs—such as record field access—for which binding and typing are mutually dependent.We also refine and extend our previous scope graph theory to address practical concerns including ambiguity checking and support for …


Teaching Matlab And C Programming In First Year Electrical Engineering Courses Using A Data Acquisition Device, Phillip Wong, Branimir Pejcinovic Jun 2015

Teaching Matlab And C Programming In First Year Electrical Engineering Courses Using A Data Acquisition Device, Phillip Wong, Branimir Pejcinovic

Electrical and Computer Engineering Faculty Publications and Presentations

Our industry partners often voice a complaint that our newly graduated electrical engineering (EE) students do not have sufficient programming skills. This is not a new concern. In a traditional undergraduate EE curriculum, one or two programming courses compose the entirety of the student’s training in programming. The courses may be taught by the computer science department without significant emphasis on engineering fundamentals. While the principles of computer science may be well covered, the ability to apply the knowledge to practical engineering problems is frequently lacking. To compound the problem, teaching novices the basics of programming can be very challenging …