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

Update README #549

Merged
merged 4 commits into from
Jan 2, 2018
Merged

Update README #549

merged 4 commits into from
Jan 2, 2018

Conversation

hachi8833
Copy link
Member

  • Add new classes
  • Add a description for Symbols
  • Add JetBrains logo

@ghost ghost assigned hachi8833 Dec 26, 2017
@ghost ghost added the in progress label Dec 26, 2017
@codecov
Copy link

codecov bot commented Dec 26, 2017

Codecov Report

Merging #549 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #549   +/-   ##
=======================================
  Coverage   82.68%   82.68%           
=======================================
  Files          53       53           
  Lines        7001     7001           
=======================================
  Hits         5789     5789           
  Misses        967      967           
  Partials      245      245

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 744712a...76fd013. Read the comment docs.

- Add new classes
- Add a description for Symbols
- Add JetBrains logo
README.md Outdated
- Float: `3.14`, `-273.15`
- String literal: `"string"`, `'string'`, `:string`
- Symbol literal: `:email`, `{ tel: '9909-999-999' }
- Symbol literal is `String` class and just a convenient representation of string literals.
Copy link
Member

Choose a reason for hiding this comment

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

I think saying Symbol is a convenient representation for Rubyists will be better, since not everyone who interested in Goby a Rubyist.

- Literals
- Numeric literal
- Integer: `100`, `-299`, `-0`
- Float: `3.14`, `-273.15`
Copy link
Member

Choose a reason for hiding this comment

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

We currently can't parsing negative float like this, we need to wrap them like -(273.15). see #526

README.md Outdated
- Integer: `100`, `-299`, `-0`
- Float: `3.14`, `-273.15`
- String literal: `"string"`, `'string'`, `:string`
- Symbol literal: `:email`, `{ tel: '9909-999-999' }
Copy link
Member

Choose a reason for hiding this comment

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

I think { tel: '9909-999-999' } is just a key value representation? it doesn't tell if tel a symbol or not. And you missed a '`' quote

README.md Outdated
- Numeric literal
- Integer: `100`, `-299`, `-0`
- Float: `3.14`, `-273.15`
- String literal: `"string"`, `'string'`, `:string`
Copy link
Member

Choose a reason for hiding this comment

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

I think put :string here might cause confusion?

@st0012
Copy link
Member

st0012 commented Jan 1, 2018

@hachi8833 Can we get this merge first?

@hachi8833
Copy link
Member Author

Updated the PR.

README.md Outdated
@@ -113,6 +113,16 @@ Perhaps Goby should be far easier for Rubyists to comprehend. You can use Ruby's
- Flow control
- `if`, `else`, `elsif`
- `while`
- Literals
- Numeric literal
- Integer: `100`, `(-299)`, `(-0)`
Copy link
Member

Choose a reason for hiding this comment

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

@hachi8833 I just found that in current master we don't need to wrap parentheses around negative integer or float anymore (at least in igb). Can you help me confirm this? (when did we fix this?)

Copy link
Member Author

Choose a reason for hiding this comment

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

I confirmed that bare negative integer/float works as you pointed out, except to_class.
This will be fixed #557.

@ghost ghost assigned st0012 Jan 2, 2018
@st0012 st0012 merged commit ff9f885 into master Jan 2, 2018
@ghost ghost removed the in progress label Jan 2, 2018
@st0012 st0012 deleted the update_readme branch January 2, 2018 16:48
@st0012 st0012 added this to the version 0.1.7 milestone Jan 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants