Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,4 @@
# this is a comment
# another comment
# with another below

View file

@ -0,0 +1,10 @@
// This is a single-line comment
int x = 10; // This is an inline comment
# Represents a user record.
type User record {
# User's ID.
int id;
# User's name.
string name;
};

View file

@ -0,0 +1,9 @@
(according to Gemini AI):
Idris2 uses comment characters similar to Haskell:
Single-line comments: Start with -- (two hyphens). Everything from -- to the end of the line is a comment.
Multi-line comments: Enclosed by {- and -}. These can span multiple lines and can also be nested.
Additionally, Idris2 supports inline documentation comments which begin with ||| (three pipe symbols). These are parsed by the compiler and can be used to generate documentation.

View file

@ -0,0 +1,7 @@
(according to Gemini AI):
The Janet programming language uses the # character for comments.
Single-line comments: Everything from # to the end of the line is treated as a comment.
Janet does not have built-in multi-line comments in the same way some other languages do (like {- ... -} in Idris2 or /* ... */ in C-like languages). However, because Janet is expression-oriented, you can often use multi-line strings as a form of "comment" if you put them in a context where their value isn't used.

View file

@ -0,0 +1,17 @@
(According to Gemini AI):
The Odin programming language supports two types of comment characters:
Single-line comments: Begin with //.
Code snippet
// This is a single-line comment
my_variable: int // A comment for documentation
Multi-line comments: Begin with /* and end with */. Multi-line comments can also be nested.
Code snippet
/*
This is a multi-line comment.
/* NOTE: comments can be nested! */
You can have any text or code here and have it be commented.
*/

View file

@ -0,0 +1,9 @@
-- Single line comment
--[[ Multi-line
comment ]]
--[===[
Another syntax
[[ which may contain square brackets ]]
]===]