Zhivka Gucevska
b00a85231e
Parametrize over the additional agrument type for StatementVisitor1 and ExpressionVisitor1
...
BUG=
R=dmitryas@google.com
Review-Url: https://codereview.chromium.org/2835453002 .
2017-04-20 18:03:15 +02:00
Zhivka Gucevska
feb38e4c8b
Implement expression evaluation in Coninuation Passing Style
...
This enables support for Return statements.
BUG=
R=dmitryas@google.com , kmillikin@google.com
Review-Url: https://codereview.chromium.org/2806483003 .
2017-04-20 15:22:33 +02:00
Zhivka Gucevska
c91fd31036
Implement flow control with breaks
...
BUG=
R=dmitryas@google.com , kmillikin@google.com
Review-Url: https://codereview.chromium.org/2790063002 .
2017-04-05 13:00:44 +02:00
Zhivka Gucevska
b01acf32d7
Fix Setter lookup
...
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2795883003 .
2017-04-04 14:52:50 +02:00
Zhivka Gucevska
1851ca685e
Change layout of fields in a object values
...
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2781453002 .
2017-03-28 11:19:16 +02:00
Zhivka Gucevska
23cc114c2f
Implements simple statement executer
...
This change adds support for executing:
- BlockStatement
- ExpressionStatement
- IfStatement
- VariableDeclaration
Currently only BlockStatement introduces a new environment and
VariableDeclaration modifies the environment.
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2775293002 .
2017-03-28 10:23:15 +02:00
Zhivka Gucevska
02251a05eb
Add support for implicit getters and setters
...
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2764073002 .
2017-03-24 16:04:02 +01:00
Zhivka Gucevska
80a334512a
Add representation for object values
...
It also adds few operators for the Basic literals for testing purposes.
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2764823002 .
2017-03-21 13:17:33 +01:00
Zhivka Gucevska
bd3cfd6979
Implements support for variables and evaluation of logic expressions
...
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2740433006 .
2017-03-15 12:50:16 +01:00
Zhivka Gucevska
1b82e0c3a0
Initial implementation of interpreter for Kernel
...
Basic framework, evaluation of BasicLiterals and dummy evaluation
of print.
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2722283003 .
2017-03-02 13:19:27 +01:00