Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proofreading of readme file + fix for issue #76 #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Proofreading of readme file + fix for issue #76 #86

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 4, 2018

Committer: Shibatan [email protected]

On branch add-shibatan
Changes to be committed:
modified: README.md

Committer: Shibatan <[email protected]>

 On branch add-shibatan
 Changes to be committed:
	modified:   README.md

 Untracked files:
	.DS_Store
Copy link
Contributor

@CLiu13 CLiu13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, please follow the commit guidelines, which can be found here.

README.md Outdated
@@ -21,83 +21,83 @@ Sensitive Tree.

To achieve the first goal, the primary output of this repository is a
static website which allows the reader to understand the definitions
contained here, and link to other online resources where more information
contained there and link to other online resources where more information
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this still be here since it is referring to this repo, which contains the language definitions?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I interpreted static website as the "here" and made the change, but I see now that you're correct.

can be obtained.

Links to Wikidata, Antlr definitions, E(BNF) files, example files, will
be integral components of the definitions here.
be integral components of the definitions there.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see previous comment on here vs there

README.md Outdated
and also more useful.
into a universal AST, primarily for building a test suite to verify that
the language definitions are able to parse files at useful levels of
detail. Again, focusing on style-defined subsets of languages, which are
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see why you added a period and capitalized Again, but there is now a new sentence fragment that should be clarified. maybe change focusing to focus, so that the fragment becomes a complete sentence.


## Phases

These phases will be overlapping slightly.
These phases will be slightly overlapping.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to change the position of overlapping, IMO.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do believe it's correct both ways, but it reads more naturally to have the adverb before that thing that it modifies, imo.

README.md Outdated
definitions, and should allow users to define their own custom styles,
however the priority will be accurately describing well established
definitions, and should allow users to define their own custom styles.
The priority, however, will be accurately describing well-established
style guides, and important features of commonly used linters of various
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't think a comma is needed here between guides and and

README.md Outdated
that the imports are complete, or that partial definitions allow correct
partial parsing of those languages where complete parsing is too complex.
In this phase, tools to convert the coAST definitions into other syntax
will be needed to roundtrip the language definitions. This will provide
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be needed to roundtrip the language definitions - what is roundtrip supposed to mean in this phrase?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not entirely certain, I just made it one word.

README.md Outdated

### Phase 1: Replace coala language definitions

The language definitions found at
https://github.com/coala/coala/tree/master/coalib/bearlib/languages
will be manually added as language definitions here, growing the schema
as necessary. Once the import of facts is complete, a generator will
will be manually added as language definitions, growing the schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can keep the here, no need to remove it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going off of your comment above, I'd agree.

@ghost ghost changed the title Proofreadind of readme file + fix for issue #76 Proofreading of readme file + fix for issue #76 Dec 4, 2018
@ghost
Copy link
Author

ghost commented Dec 4, 2018

Made updates based upon your feedback in a second commit, @CLiu13.

@@ -11,8 +11,8 @@ generic.
language can be obtained by reading online resources rather than code.

2. Provide multiple usable levels of parse-ability, so that a file can
be accurately split into parts which are not yet parse-able, or the
use case has no benefit in parsing, and the parts may be modified
be accurately split into parts which are not yet parse-able -- or the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? It seems grammatically correct earlier.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number of commas made the sentence confusing to read. This portion of the sentence was an aside, so I enclosed it in en dashes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number of commas made the sentence confusing to read. This portion of the sentence was an aside, so I enclosed it in en dashes.

Copy link
Member

@siddhpant siddhpant Dec 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add and then the parts may be modified while retaining the commas?

definitions into metasyntax used by other parsing toolkits, such as BNF
and derivatives, Antlr .g4, and augeas.

3. Standardise the definition schema once a sufficiently large number
of language definitions have been adequately verified to determine
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adequately provides a sort of commitment.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted, will change.


### Phase 3: Create language style definitions

Create declarative descriptions of common styles, such as the Google Python
coding guidelines, and Airbnb JavaScript style.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove oxford comma.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not an Oxford comma.
“Such as X and Y”.
Not “such as X, and Y.”

Copy link
Member

@siddhpant siddhpant Dec 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right.
Resolve this conversation if possible :-)

@CLiu13
Copy link
Contributor

CLiu13 commented Dec 4, 2018

Also, please don't forget to follow the commit guidelines , and squash your commits.

Copy link
Member

@utkarsh2102 utkarsh2102 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,

  • The commit message should be as per the commit guidelines.
  • Also, you will have to rebase it later.
  • The title doesn't really go along the guidelines, either.
  • I heartily request you to work on issues when they're assigned to you.
  • Also, it is very much recommended to read the Newcomer's Guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants