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

Basic Syntax #162

Merged
merged 59 commits into from
Dec 1, 2020
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
b43a9ce
first draft of proposal for basic syntax
jsiek Sep 19, 2020
53b8dd5
rename proposal
jsiek Sep 19, 2020
f048c11
formating
jsiek Sep 19, 2020
86cedc3
fixing typos
jsiek Sep 19, 2020
eed621c
precendence and associativity
jsiek Sep 21, 2020
e26781c
minor edit
jsiek Sep 21, 2020
c8d833e
added abstract syntax
jsiek Sep 22, 2020
974d91a
some revisions based on feedback from meeting today
jsiek Sep 23, 2020
2279899
optional return type
jsiek Sep 23, 2020
42068f7
oops, not optional for function declarations
jsiek Sep 23, 2020
c6daf89
replacing abbreviations with full names
jsiek Sep 24, 2020
556deab
name changes
jsiek Sep 24, 2020
0855d05
Update proposals/p0162.md
jsiek Sep 24, 2020
b02522b
removed = from precedence table
jsiek Sep 24, 2020
43c4b9f
for fun decl, back to optional return type, shorthand for void return
jsiek Sep 25, 2020
28bfaf5
more fiddling with return types
jsiek Sep 26, 2020
3ef030a
change base case of statement_list to empty
jsiek Sep 26, 2020
dd4cf52
added pattern non-terminal
jsiek Sep 27, 2020
34b50f2
added expression style function definitions
jsiek Sep 27, 2020
5f95ac3
change && to and, || to or
jsiek Sep 27, 2020
2cc4f67
change and to have equal precedence
jsiek Sep 27, 2020
e0afba2
updating text to match grammar, fix typo in grammar regarding pattern
jsiek Sep 27, 2020
fa2695c
adding trailing comma thing to tuples
jsiek Sep 27, 2020
dc80cbd
removed 'alt' keyword, not necessary
jsiek Sep 27, 2020
c611253
flipped expression and pattern
jsiek Sep 28, 2020
e780d81
added period for named arguments and documented the reason
jsiek Sep 30, 2020
24c2eac
change alternative syntax to use tuple instead of expression
jsiek Sep 30, 2020
6e8dc8a
comment about abstract syntax
jsiek Sep 30, 2020
097a10d
code block language annotations
jsiek Oct 1, 2020
c1a3e66
added alternative designs, some cleanup for pre-commit
jsiek Oct 1, 2020
c12a1e5
spell checking
jsiek Oct 1, 2020
58106f7
filled out the TOC
jsiek Oct 1, 2020
8472acf
minor edits
jsiek Oct 1, 2020
e1149fe
minor edit
jsiek Oct 1, 2020
5f6ed24
trying to fix pre-commit error
jsiek Oct 1, 2020
edc65bd
changes from pre-commit?
jsiek Oct 7, 2020
9555b53
changes based on meeting today
jsiek Oct 7, 2020
2386f28
describe alternatives regarding methods
jsiek Oct 7, 2020
246da20
more rationale in discussion of alternatives
jsiek Oct 7, 2020
0b6dd7a
addressing comments
jsiek Oct 8, 2020
4d66890
typo fix, added text about next steps
jsiek Oct 21, 2020
5918704
removed *, changed a ! to not
jsiek Oct 22, 2020
c2d963c
Update proposals/p0162.md
jsiek Oct 23, 2020
a76b975
edits from feedback
jsiek Oct 23, 2020
6aa6b6c
Merge branch 'basic-syntax' of https://github.com/jsiek/carbon-lang i…
jsiek Oct 23, 2020
9ca7249
pre-commit
jsiek Oct 23, 2020
df011b3
added second reason for period in field initializer
jsiek Oct 23, 2020
e62dac3
added executable semantics, fixed misunderstanding regarding associat…
jsiek Oct 24, 2020
0e38274
update README
jsiek Oct 24, 2020
49949e8
added a paragraph about tuples and tuple types
jsiek Oct 25, 2020
7292650
Update proposals/p0162.md
jsiek Oct 28, 2020
cb7efb6
addressing comments from josh11b
jsiek Oct 28, 2020
01045a8
Merge branch 'basic-syntax' of https://github.com/jsiek/carbon-lang i…
jsiek Oct 28, 2020
fa8a246
Update executable-semantics/README.md
jsiek Oct 28, 2020
6462c6f
link to implicit parameters in generics proposal
jsiek Oct 28, 2020
535d46f
added non-terminal for designator as per geoffromer's suggestion
jsiek Oct 29, 2020
1036bec
changed handling of tuples in function call and similar places as per…
jsiek Oct 29, 2020
2a81ff4
moving code to separate PR
jsiek Oct 30, 2020
6020b32
resolved merge conflict in proposals/README
jsiek Nov 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions proposals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ request:
- [0083 - In-progress design overview](p0083.md)
- [0120 - Add idiomatic code performance and developer-facing docs to goals](p0120.md)
- [Decision](p0120_decision.md)
- [0162 - Basic Syntax](p0162.md)

<!-- endproposals -->
Loading