Anton Roos
6cef4645ac
Fix grammar errors ( #1648 )
...
Fix grammar errors:
- the following audiences sounds more natural.
- are instead of is.
- "to use" is wordy and superfluous.
2022-07-24 12:37:00 -07:00
Joshua Peterson
39d6c4139f
Add a link the the stacked pull request docs ( #1657 )
...
The stacked pull request documentation exists now, so remove the TODO
and add a link to it.
2022-07-24 10:43:27 -07:00
yogesh kartik
19cf9f1243
remove the redundancy ( #1631 )
...
removed one "our" in readme.md at line 302.
2022-07-24 09:34:08 -07:00
EnabledFish
088a32128d
Fix: Replace Int: x -> x: Int ( #1620 )
...
Declaring variables should use `var x: Int`.
2022-07-24 09:13:08 -07:00
Martim Martins and martimartins
31df852738
Remove non-needed Python 2.x inherit from object ( #1622 )
...
In Python 3.x it is not necessary to have `object` inheritance in classes, it may be useful to have `object` inheritance in classes if the code has support for Python 3.x, 2.x, but currently the present code does not contain support for python 2.x.
Co-authored-by: martimartins <martim13artins13@gmail.com >
2022-07-23 18:15:29 -07:00
CharlieS1103 and Jon Ross-Perkins
68740764f3
Sentence structure and Grammar in Evolution.md ( #1543 )
...
Co-authored-by: Jon Ross-Perkins <jperkins@google.com >
2022-07-23 18:03:12 -07:00
Kira Malinova
3c8233016c
Add missing bazel run subcommand ( #1623 )
2022-07-23 15:00:23 -07:00
Joshua Peterson
9287c825eb
Add debugging troubleshooting for GDB ( #1613 )
...
Older versions of GDB (before version 10.1) don't work with the
DWARF v5 debugging format the LLVM uses. The error message
which GDB shows when this happens is a bit misleading though.
Provide documentation about how to deal with that error message.
2022-07-23 08:53:03 -07:00
Parisa Khaleghi and Jon Ross-Perkins
0bcc6d4ae6
Update contribution_tools.md ( #1517 )
...
VS Code is a Code editor, not an IDE!
Co-authored-by: Jon Ross-Perkins <jperkins@google.com >
2022-07-23 08:47:16 -07:00
Yen-Jen Wang
01530a58ed
Fix some typos. ( #1598 )
2022-07-23 02:09:59 -07:00
Kris Jusiak and Kris Jusiak
b75655852f
✅ [explorer] Add tests for implicit tuple to array conversion ( #1582 )
...
Problem:
- Explorer doesn't cover implicit tuple to array conversion.
Solution:
- Add to_array.carbon which converts tuple to array if the size matches.
- Add fail_to_array.carbon which doesn't compile becase the size of array doesn't match the size of tuple.
Co-authored-by: Kris Jusiak <kris@jusiak.net >
2022-07-22 17:26:30 -07:00
Chandler Carruth and Jon Ross-Perkins
34610c862a
Add a link to the CppNorth announcement video. ( #1581 )
...
Co-authored-by: Jon Ross-Perkins <jperkins@google.com >
2022-07-22 16:34:30 -07:00
Josh Soref
066b103881
Spelling ( #1580 )
...
This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling ).
The misspellings have been reported at https://github.com/jsoref/carbon-lang/commit/38a1c1640151899fd6da0442a92557f9543b6280#commitcomment-79197316
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/carbon-lang/commit/173c8f9083a68aa61f7cfe94f720f1e5dc7f1ea3
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2022-07-22 16:14:21 -07:00
Wolfgang E Sanyer and Chandler Carruth
d134990157
Update contribution_tools.md ( #1513 )
...
The repository can be forked and cloned using the `gh` cli
Co-authored-by: Chandler Carruth <chandlerc@gmail.com >
2022-07-22 15:04:15 -07:00
prprprpony
abee4cc73d
Fix some typos in parser_impl.h ( #1569 )
2022-07-22 11:41:40 -07:00
Richard Smith
59ae6e31b6
Rename PrimitiveOperatorExpression to OperatorExpression. ( #1530 )
...
This isn't modeling only primitive operators any more: it also models operators
that are rewritten as calls to an interface function.
2022-07-22 11:36:36 -07:00
Arno Gourdol
ce23650db6
Grammar ( #1536 )
2022-07-22 12:44:08 -04:00
Arno Gourdol
4815a09a79
Grammar ( #1535 )
2022-07-22 12:43:14 -04:00
Jon Ross-Perkins and Patryk Gutowski
e38c697938
Fix cpp image snippet. ( #1567 )
...
There's an extra curly brace per @pacion, and a missing space in print was also reported to us on other forums.
Co-authored-by: Patryk Gutowski <37260994+pacion@users.noreply.github.com >
2022-07-22 09:26:03 -07:00
Jon Ross-Perkins
98a77d57a2
Add README for local installer. ( #1540 )
2022-07-21 19:41:39 -07:00
Jon Ross-Perkins
adad33944d
Add some build troubleshooting, stop doing version detection. ( #1541 )
...
@chandlerc brew is installing clang-14, so I'm not sure the clang-13 is doing much other than risking picking up the wrong version.
2022-07-21 19:40:22 -07:00
pk19604014
891d95cd0b
Made EqualityContext destructor virtual as the class has a virtual method + added -Wnon-virtual-dtor to catch similar cases in the future ( #1411 )
2022-07-21 18:18:32 -07:00
Richard Smith
93e19649aa
Support for as operator and user-defined As impls. ( #1476 )
2022-07-21 13:16:18 -07:00
josh11b
a96ae98155
Fixes to example code in design overview ( #1516 )
...
Fix `-` -> `+` in `Distance`. Typo noticed by gingerBill in https://www.youtube.com/watch?v=Z_8lV0nwsc4 .
Also update factory function names `Create` -> `Make`, to reflect latest thinking.
2022-07-21 10:52:38 -04:00
Aleksey Kladov
3f247037ad
fix typo ( #1505 )
2022-07-21 06:12:26 -04:00
mconst
80b7863fdf
Fix typo from previous incomplete edit ( #1488 )
...
This sentence was replaced in #569 , but the words "See the" from the old version didn't get deleted. Thanks to Kira on Discord for pointing it out!
2022-07-20 21:50:54 -07:00
Jon Ross-Perkins
be2f8ed127
Remove convention remark ( #1482 )
2022-07-20 21:50:05 -07:00
Arno Gourdol
d21acc95f9
Spelling, grammar ( #1478 )
2022-07-20 18:40:16 -04:00
Loong Dai
13bcc28029
docs: fix some typo ( #1442 )
...
Signed-off-by: Loong Dai <loong.dai@intel.com >
2022-07-20 13:59:10 -07:00
Jon Ross-Perkins
3e0a7db346
Empty tuple doc ( #1477 )
2022-07-20 13:44:41 -07:00
Zenong Zhang and Jon Ross-Perkins
52ee050019
Initial implementation of unformed state for local variables. ( #1387 )
...
Allows unformed state for local variables. Reports a run-time error when an unformed local variable is used.
- Added declaration without initialization for local variables in the parser.
- Made the init expression of VariableDefinition optional.
- Expanded (alive, dead) to (uninitialized, alive, dead) in the Heap.
Co-authored-by: Jon Ross-Perkins <jperkins@google.com >
2022-07-20 16:03:52 -04:00
mirmik
04cfcc1dc2
Add missed header. ( #1464 )
...
It fix failed build for me.
2022-07-20 12:33:30 -07:00
Mats Larsen
5d1ef8bb44
move highlightjs code into utils directory ( #1472 )
...
Following a short discussion on Discord about where to locate developer tools, I suggest we collect developer utils inside a `/utils` directory at the repository root.
The idea behind this directory is taken from LLVM's utils directories in the various LLVM subprojects which host tooling such as Vim and VSCode extensions, utility scripts, and other useful bits for developers developing or using LLVM.
This patch moves the highlightjs code into said utils directory.
Let me know if there's anything else that's missing 😄
cc @jonmeow
2022-07-20 15:15:23 -04:00
FirstSS
8ed38c42f3
Fixed typo ( #1473 )
2022-07-20 14:55:54 -04:00
Jon Ross-Perkins
2de9e5a6ef
Fix CONTRIBUTING.md minutes links ( #1463 )
...
First needs resourcekey, second doesn't, don't know why. But now I've tested both in incognito.
2022-07-20 11:41:03 -04:00
Jon Ross-Perkins
9bbfe83829
Remove dead firebase key reference ( #1467 )
2022-07-20 08:32:08 -07:00
Ilja van Sprundel
e85282567a
fix typo in QuickSort code ( #1466 )
...
Seems there were 1 too many closing round brackets when calling QuickSort.
2022-07-20 18:25:06 +03:00
Céline Dedaj
c20c6cb8bf
Replaced "you" by "we" ( #1451 )
...
Sounds like accusatory, and more inclusive.
2022-07-20 08:30:49 -04:00
cui fliter
e8206bf4bf
fix some typos ( #1444 )
...
Signed-off-by: cui fliter <imcusg@gmail.com >
2022-07-20 07:01:47 +03:00
Thomas Lively
c65284b1a0
Fix memory safety link in faq.md ( #1434 )
2022-07-19 15:07:18 -07:00
Jon Ross-Perkins
83e4a0f98f
Switch links to the correctly ACLed versions ( #1432 )
...
Fixes #1422 as noted by @laurentlb
2022-07-19 14:50:58 -07:00
Jon Ross-Perkins
59f91aa0d5
Replace README folders with proper public version ( #1430 )
2022-07-19 14:50:35 -07:00
Ryan Russell
aa4ce80907
docs(design): improve readability ( #1431 )
...
Readability improvements focused on `docs/design/.md`
Signed-off-by: Ryan Russell <git@ryanrussell.org >
2022-07-19 17:45:45 -04:00
Jon Ross-Perkins
1d3779791d
Pass relative link to ln ( #1427 )
2022-07-19 17:00:30 -04:00
Matt Godbolt
eeb91cb044
Update FAQ to point at compiler explorer instance. ( #1429 )
2022-07-19 16:14:11 -04:00
Dan Sarginson
15845b1d03
Update README.md reference with an existing file ( #1421 )
...
README.md references print.carbon, which doesn't seem to exist
in the repo. How about this Hello World file?
2022-07-19 16:13:38 -04:00
Laurent Le Brun
d87d58aa52
Spec: Fix link to the Explorer tool ( #1420 )
2022-07-19 13:50:47 -04:00
Laurent Le Brun
9a370994b5
FAQ: Update link to the Discord server ( #1419 )
2022-07-19 13:30:01 -04:00
Jon Ross-Perkins
31c3953a5f
Orient README around Print ( #1409 )
historical/public-announcement
2022-07-19 06:17:46 -04:00
Chandler Carruth and Jon Ross-Perkins
1ece2131aa
Add two sections to improve the CoC. ( #1410 )
...
One is a really basic version of the weapons policy used by many
conferences and events in the tech space.
The other is trying to expand on a sentence to make the nature of how we
will handle these difficult cases.
Co-authored-by: Jon Ross-Perkins <jperkins@google.com >
2022-07-18 20:30:30 -07:00