Giter Site home page Giter Site logo

alexandrosplessias / compilerfrontendforrlanguage Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 217.08 MB

Implementation of a Compiler's Front End For R Language with C# & ANTLR tool

License: MIT License

R 44.00% C# 19.65% HTML 22.71% C 3.04% C++ 0.88% Roff 8.98% XSLT 0.40% ANTLR 0.35%
compilers compiler-frontend compiler-construction r csharp grammar-rules lexical-analysis syntax-analysis semantic-analysis parse-trees abstract-syntax-tree antlr antlr-grammar antlr-language-development symbol-table

compilerfrontendforrlanguage's Introduction

Compiler Front End For R Language

In the present work we study the structure of the front end of the statistical language R [Version 3.3.2 (2016-10-31)], which consists of a lexical analyzer and two parsers, one acts as grammar filter and the other is the grammar itself. For each input will produce a parse tree, an abstract syntax tree (AST), the illustration of syntax tree, the representation of abstract syntax tree (AST) and a symbol table.

In front end (FE) of the compiler implemented several design patterns, which are object oriented so allow us to easily maintain the code but also the best organization. Finally they made several tests and analyzes on the results in order to have correct both the grammar and the work as a whole.

The dissertation refers to the design of the front end compiler for the R language. The R language has a large user base (about 2 million) and this makes it very interesting in terms of applications in the design of digital systems for acceleration. the processing of its programs. There aren't many reliable R-language development tools on the market, with the exception of RStudio, which I'll cover later. For starters this is a great way to get started.

The most important technical difficulty was "the creation of the R grammar since it was not available somewhere", so it had to be developed from scratch. Appropriate tools such as ANTLR were also used to objectively approach the problem and the C# language to implement the design patterns of the visitor, the observer, the repeater and the façade.

compilerfrontendforrlanguage's People

Contributors

alexandrosplessias avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.