-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #831 from jackos/jackos/add-mojo
Add support for Mojo, #831
- Loading branch information
Showing
7 changed files
with
78 additions
and
9 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
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
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
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
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
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,18 @@ | ||
#mojo | ||
# Works with Mojo. | ||
|
||
# pound comment | ||
|
||
def main(): | ||
from time import now | ||
print("Hello, the monotonic time is:", now()) # inline comment | ||
|
||
""" | ||
Docstring, | ||
also counted as comment. | ||
""" | ||
|
||
''' | ||
Single | ||
Quoted | ||
Docstring''' |
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,21 @@ | ||
--- | ||
# github.com/AlDanial/cloc | ||
header : | ||
cloc_url : github.com/AlDanial/cloc | ||
cloc_version : 2.01 | ||
elapsed_seconds : 0.0048980712890625 | ||
n_files : 1 | ||
n_lines : 12 | ||
files_per_second : 204.16199376947 | ||
lines_per_second : 2449.94392523364 | ||
report_file : hi.mojo.yaml | ||
Mojo : | ||
nFiles: 1 | ||
blank: 4 | ||
comment: 11 | ||
code: 3 | ||
SUM: | ||
blank: 4 | ||
comment: 11 | ||
code: 2 | ||
nFiles: 1 |