-
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create Bourbxn.carbon * Delete Carbon directory * Add carbon language
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
//--------------------// | ||
// Coffee to Code // | ||
//--------------------// | ||
|
||
package ExplorerTest api; | ||
|
||
fn Coffee_To_Code(my_favorite_things: String) -> String { | ||
if(my_favorite_things=="Coffee"){ | ||
return "Code"; | ||
} | ||
else{ | ||
return my_favorite_things; | ||
} | ||
} | ||
|
||
fn Main() -> i32 { | ||
var my_favorite_things: String = "Coffee"; | ||
Print(Coffee_To_Code(my_favorite_things)); | ||
return 0; | ||
} | ||
|
||
//-----------------------------------------------// | ||
// My favorite things is coffee with code :) // | ||
// Made by Bourbxn // | ||
//-----------------------------------------------// |