Carbon (programming language): Difference between revisions

Content deleted Content added
m His name is Chandler Carruth, not Carruth Chandler (see: https://www.linkedin.com/in/chandlerc, https://twitter.com/chandlerc1024, etc.).
added hello world
Line 25:
 
The language is developed as a [[Free and open-source software|free and open source]] project under the [[Apache License]] (version 2).<ref>{{Cite web |url=https://github.com/carbon-language/carbon-lang/blob/31df852738aea520a1a1800259120bc10ce7a005/LICENSE |title=carbon-lang/LICENSE |date=2020-06-16 |access-date=2022-07-24 |website=GitHub}}</ref>
 
== Examples ==
=== Hello, world! ===
<syntaxhighlight lang="carbon">
package sample api;
fn Main() -> i32 {
Print("Hello, world!");
return 0;
}</syntaxhighlight>
 
== References ==