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

Issue 10153004: Add a basic YAML processor. Much of the language is still unimplemented. (Closed)

Created:
8 years, 8 months ago by nweiz
Modified:
8 years, 7 months ago
Reviewers:
Bob Nystrom, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a basic YAML processor. Much of the language is still unimplemented. Committed: https://code.google.com/p/dart/source/detail?r=6971

Patch Set 1 #

Total comments: 107

Patch Set 2 : Move the YAML processor to utils/. #

Patch Set 3 : Remove tests/lib from TEST_SUITE_DIRECTORIES. #

Total comments: 2

Patch Set 4 : Code review changes #

Total comments: 2

Patch Set 5 : More code review changes. #

Total comments: 2

Patch Set 6 : In-person code review change #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3607 lines, -25 lines) Patch
M tests/utils/src/MarkdownTest.dart View 1 2 3 4 2 chunks +1 line, -24 lines 0 comments Download
A tests/utils/src/YamlTest.dart View 1 2 3 4 1 chunk +1826 lines, -0 lines 0 comments Download
A tests/utils/src/test_utils.dart View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
M tests/utils/utils.status View 1 2 3 4 1 chunk +3 lines, -0 lines 1 comment Download
M tools/test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A utils/yaml/composer.dart View 1 2 3 4 1 chunk +177 lines, -0 lines 0 comments Download
A utils/yaml/constructor.dart View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
A utils/yaml/deep_equals.dart View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
A utils/yaml/model.dart View 1 2 3 4 1 chunk +238 lines, -0 lines 0 comments Download
A utils/yaml/parser.dart View 1 2 3 4 1 chunk +985 lines, -0 lines 0 comments Download
A utils/yaml/visitor.dart View 1 1 chunk +24 lines, -0 lines 0 comments Download
A utils/yaml/yaml.dart View 1 2 3 4 1 chunk +55 lines, -0 lines 0 comments Download
A utils/yaml/yaml_map.dart View 1 2 3 1 chunk +110 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
nweiz
8 years, 8 months ago (2012-04-20 00:23:13 UTC) #1
kasperl
Quick style question: Why is so much of this stuff _private?
8 years, 8 months ago (2012-04-20 06:02:30 UTC) #2
Bob Nystrom
The style is kind of strange, but it's consistent and works well if you know ...
8 years, 8 months ago (2012-04-20 20:28:55 UTC) #3
nweiz
I've gone through and removed all the underscore prefixes on members of private classes. https://chromiumcodereview.appspot.com/10153004/diff/1/lib/yaml/composer.dart ...
8 years, 8 months ago (2012-04-23 23:06:33 UTC) #4
Bob Nystrom
Couple of nits and suggestions. Take what you will. Otherwise LGTM. https://chromiumcodereview.appspot.com/10153004/diff/1/lib/yaml/composer.dart File lib/yaml/composer.dart (right): ...
8 years, 8 months ago (2012-04-24 00:50:35 UTC) #5
Bob Nystrom
https://chromiumcodereview.appspot.com/10153004/diff/14001/utils/yaml/parser.dart File utils/yaml/parser.dart (right): https://chromiumcodereview.appspot.com/10153004/diff/14001/utils/yaml/parser.dart#newcode173 utils/yaml/parser.dart:173: bool _(obj) => obj != null && obj != ...
8 years, 8 months ago (2012-04-24 00:53:38 UTC) #6
nweiz
PTAL at my changes to the test infrastructure. https://chromiumcodereview.appspot.com/10153004/diff/1/lib/yaml/parser.dart File lib/yaml/parser.dart (right): https://chromiumcodereview.appspot.com/10153004/diff/1/lib/yaml/parser.dart#newcode308 lib/yaml/parser.dart:308: pairs.forEach((pair) ...
8 years, 8 months ago (2012-04-25 00:26:29 UTC) #7
Bob Nystrom
LGTM after you add a TODO like we discussed. https://chromiumcodereview.appspot.com/10153004/diff/19001/tools/test.dart File tools/test.dart (right): https://chromiumcodereview.appspot.com/10153004/diff/19001/tools/test.dart#newcode59 tools/test.dart:59: ...
8 years, 8 months ago (2012-04-25 18:46:08 UTC) #8
nweiz
https://chromiumcodereview.appspot.com/10153004/diff/19001/tools/test.dart File tools/test.dart (right): https://chromiumcodereview.appspot.com/10153004/diff/19001/tools/test.dart#newcode59 tools/test.dart:59: 'utils/tests/pub', On 2012/04/25 18:46:08, Bob Nystrom wrote: > ? ...
8 years, 8 months ago (2012-04-25 18:47:16 UTC) #9
kasperl
8 years, 7 months ago (2012-05-24 17:48:04 UTC) #10
https://chromiumcodereview.appspot.com/10153004/diff/23001/tests/utils/utils....
File tests/utils/utils.status (right):

https://chromiumcodereview.appspot.com/10153004/diff/23001/tests/utils/utils....
tests/utils/utils.status:30: YamlTest: Skip # Issue 2717.
It is a really bad idea to skip failing tests. Is there a subtle reason why this
isn't marked with 'Fail'?

Powered by Google App Engine
This is Rietveld 408576698