Giter VIP home page Giter VIP logo

ffa-examples's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @rodneyxr
  • ๐ŸŽ“ I have a PhD (2022), MS (2017), and BS (2015) in Computer Science
  • ๐Ÿ‘€ Iโ€™m interested in all things software engineering
  • ๐ŸŒฑ Iโ€™m currently learning Flutter & Dart
  • ๐Ÿค– I'm closely monitoring advancements in the LLM community
  • ๐ŸŽฎ How to reach me Rodney#5915

ffa-examples's People

Contributors

rodneyxr avatar

Watchers

 avatar  avatar  avatar

Forkers

sean-xiaoyin

ffa-examples's Issues

Merging productions

I sort of have the variable analysis part working. Another problem I am having is merging productions when there is a branch. For example:

1: $x0 = 'a';
2: $x1 = 'b';
3: $x2 = 'c';
4: $x3 = $x0;
5: $x3 = $x1;
6: if (other) {
7:    $x3 = $x2;
8: }
9: $x4 = $x3;

Usually where there is an assignment, like line 4: $x3 = $x0, I will create a new production: $x3{4} -> $x0{1}. (var_name{line #})
Same thing for line 5.

But if we look at line 9 where $x4 could be $x1 or $x2 so I am not sure how to add this production to the grammar. Currently in the live variables, $x3 has two entries for line 5 and line 7. So when line 9 comes along I have to put the line 7 value because it was the last variable added to the live variable set. But I should have some way of setting $x4 equal to both the line 5 and line 7 value.

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.