Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1560)

Issue 1236443002: Core static semantics (Closed)

Created:
5 years, 5 months ago by Leaf
Modified:
5 years, 5 months ago
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Core static semantics checkpoint. First take on a core static semantics. Class typing is not done, but all of the core language is pretty well fleshed out. Fuzzy arrow types are handled, downwards inference on function types is modeled, and local variable type inference is modeled. Field lookup has not been specified yet. I've split out the elaboration of the input syntax into the final program with runtime checks and suppressed that from the output for now. BUG= R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/cdacc213ce7c5acc53676e19f54691fa1e56c2ee

Patch Set 1 #

Total comments: 43

Patch Set 2 : Address comments #

Patch Set 3 : Update pdf #

Patch Set 4 : Show elaboration rules #

Total comments: 4

Patch Set 5 : Address comments round 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+844 lines, -62 lines) Patch
A doc/definition/macros.tex View 1 1 chunk +64 lines, -0 lines 0 comments Download
A doc/definition/static-semantics.tex View 1 2 3 4 1 chunk +556 lines, -0 lines 0 comments Download
M doc/definition/strong-dart.pdf View 1 2 3 4 Binary file 0 comments Download
M doc/definition/strong-dart.tex View 1 2 3 3 chunks +224 lines, -62 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Leaf
5 years, 5 months ago (2015-07-09 23:35:55 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1236443002/diff/1/doc/definition/strong-dart.tex File doc/definition/strong-dart.tex (right): https://codereview.chromium.org/1236443002/diff/1/doc/definition/strong-dart.tex#newcode131 doc/definition/strong-dart.tex:131: checks. I admit, this surprised me a bit. I ...
5 years, 5 months ago (2015-07-10 00:20:58 UTC) #3
vsm
https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex File doc/definition/static-semantics.tex (right): https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex#newcode23 doc/definition/static-semantics.tex:23: subtype of the synthesized type, corresponding to an implicit ...
5 years, 5 months ago (2015-07-13 22:36:56 UTC) #4
Leaf
PTAL. I made fields entirely private, specified field and method lookup, and made a few ...
5 years, 5 months ago (2015-07-14 22:39:50 UTC) #5
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex File doc/definition/static-semantics.tex (right): https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex#newcode213 doc/definition/static-semantics.tex:213: arguments are well-typed at any type. On 2015/07/14 22:39:49, ...
5 years, 5 months ago (2015-07-14 23:59:22 UTC) #6
vsm
lgtm https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex File doc/definition/static-semantics.tex (right): https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex#newcode86 doc/definition/static-semantics.tex:86: leaves this as a non-deterministic choice. On 2015/07/14 ...
5 years, 5 months ago (2015-07-15 18:25:34 UTC) #7
Leaf
https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex File doc/definition/static-semantics.tex (right): https://codereview.chromium.org/1236443002/diff/1/doc/definition/static-semantics.tex#newcode86 doc/definition/static-semantics.tex:86: leaves this as a non-deterministic choice. On 2015/07/15 18:25:34, ...
5 years, 5 months ago (2015-07-15 22:27:25 UTC) #8
vsm
still lgtm
5 years, 5 months ago (2015-07-15 22:35:05 UTC) #9
Leaf
5 years, 5 months ago (2015-07-15 22:52:43 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
cdacc213ce7c5acc53676e19f54691fa1e56c2ee (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698