ibrahima niang ranjith kumar s sania arif
play

Ibrahima Niang Ranjith Kumar S. Sania Arif In a nutshell C++ - PowerPoint PPT Presentation

Plots on the go Ibrahima Niang Ranjith Kumar S. Sania Arif In a nutshell C++ Lists 01 03 Our backend compiles down We have lists for primitive as to C++, allowing us to re-use well as non-primitive data code without re-compiling


  1. “Plots on the go” Ibrahima Niang Ranjith Kumar S. Sania Arif

  2. In a nutshell C++ Lists 01 03 Our backend compiles down We have lists for primitive as to C++, allowing us to re-use well as non-primitive data code without re-compiling types such as point, string Useful Error Messages Built-in function Libraries 04 02 Every single error that the Built-In functions written and compiler encounters will compiled in our own print a rich error message language, have the ability to for the user be included as libraries

  3. Project Management 175 commits, 3 branches, 25 issues, 2500+ lines of code

  4. Syntax Let’s talk PlOtter Primitive data types Lists Comments

  5. Conditionals Loops

  6. Built-in functions: Primitive Print Line PrintXY Our building block

  7. Libraries Bar Graph To use: Rectangle

  8. Pipeline PlOtter in the making Scanner Parser Input.plt Tokens 01 04 02 AST Sem Check SAST 05 06 Sed ut perspiciatis Code Gen unde omnis iste natus doloremque Input.cpp Input.svg 07 09 08

  9. Implementation AST Program Includes Functions Main Statements Expressions Statements Expressions

  10. Semantic Checking The meat of the compiler Maintaining a Symbol table Undeclared, redeclared functions and identifiers Type Checking Validation according to language specs Scoping and visibility Static, block

  11. Error Reporting Scanner: On Error, report error, stop scanning. Program: Output: Parser: On Error, report error, continue parsing. Program: Output:

  12. Implementation Compiler Flags Pretty Printing from AST Program

  13. Test Driven Development New test for every feature Goal part 1: Make test pass Goal part 2: Fail no other tests Pass Tests Fail Tests Proceeded by the word “Pass” Proceeded by the word “Fail” Tests that we know should pass Tests that we know should fail

  14. Test Suite Script Sample Output . . . .

  15. Demo

  16. The future of PlOtter Customizability Support for math functions Import data from external sources REPL window for on-the-go compiling More libraries

  17. Takeaways Pair Programming saves lives. OCaml is awesome, give it time. Use Prof. Edwards’ slides. Choose teammates wisely, you’ll be stuck with them for the term. Courtesy: Prof. Edwards

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend