Add tasks for all the new languages

This commit is contained in:
Tina Müller 2016-12-05 23:44:36 +01:00
parent 9dc3c2bb62
commit bba7bfd280
13208 changed files with 134745 additions and 0 deletions

View file

@ -0,0 +1 @@
2 + 2 /This is a comment

View file

@ -0,0 +1,4 @@
System.debug ('I will execute'); // This comment is ignored.
/*
I am a large comment, completely ignored as well.
*/

View file

@ -0,0 +1 @@
.This is a single-line comment

View file

@ -0,0 +1,3 @@
...
This is a multi-line comment
...

View file

@ -0,0 +1,3 @@
...If 0
This is a comment only if the condition evaluates to zero
...

View file

@ -0,0 +1,3 @@
...!If 1
This is a comment only if the condition evaluates to nonzero
...

View file

@ -0,0 +1,3 @@
...Else
This is a comment only if the previous conditional comment was executed (and vice versa)
...

View file

@ -0,0 +1,2 @@
<-- Not common
// Usual comment

View file

@ -0,0 +1 @@
// this is a one-line comment

View file

@ -0,0 +1,2 @@
/* this is a block comment - the terminator can be on the same line
or any succeeding line everything in between is ignored */

View file

@ -0,0 +1,7 @@
[This is a comment]
[
And so
is
this
]
[But in 1949 they wouldn't have been]

View file

@ -0,0 +1,3 @@
! Standard ERRE comments begin with ! and extend to the end of the line
PRINT("this is code") ! comment after statement

View file

@ -0,0 +1,14 @@
666 ; this is an end-of-line comment
#|
This is a multi-line comment
Nesting is not allowed
|#
;; The (info <name> [<string>)] function associates a symbol and a comment
;; These info strings are saved in permanent memory (local storage)
;; Unicode characters may be used, as everywhere in the language
(define mynumber 666) → mynumber
(info 'mynumber "👀 Symbols may be commented with an information string 👺")
(info 'mynumber) → displays the above inside the 'info' field.

View file

@ -0,0 +1,5 @@
-- a single line comment
{- a multiline comment
{- can be nested -}
-}

View file

@ -0,0 +1,5 @@
//Comment (No space required)
# Comment (Space required)
REM Comment (Space require)
PRINT "This is an inline comment."//Comment (No space required)
END

View file

@ -0,0 +1,19 @@
' FB 1.05.0 Win64
' This a single line comment
REM This is another way of writing a single line comment
/'
This is a
multi-line
comment
'/
/'
Multi-line comments
/'
can also be nested
'/
like this
'/

View file

@ -0,0 +1,4 @@
-- Single-line comment
-- Multi-line
-- comment (yes, just several single-line comments).

View file

@ -0,0 +1,2 @@
# this is a comment
show 123 # this too is a comment

View file

@ -0,0 +1,2 @@
// this is a comment
show 123 // this too is a comment

View file

@ -0,0 +1,11 @@
//This is a comment.
/* This is also a comment. */
/* A multi-line
comment */
/* ==========================
A multi-line
comment
=========================== */

View file

@ -0,0 +1 @@
# This is a single-line comment

View file

@ -0,0 +1,5 @@
#[ This
is
a
block
comment ]#

View file

@ -0,0 +1,2 @@
-- This is a comment.
-- This is another comment

View file

@ -0,0 +1,6 @@
-- comment may appear anywhere on line
// comment may appear anywhere on line
# comment may appear anywhere on line
/* this is a
block comment that
may span any number of lines */

View file

@ -0,0 +1,5 @@
# This comment goes to the end of the line
/** This comment is multi-line.
Yes, it starts with a two stars
and ends with only one.
These should only be used for docstrings. */

View file

@ -0,0 +1 @@
% This is a comment. %

View file

@ -0,0 +1,14 @@
# Nim supports only single-line comments
var x = 0 ## Documentation comments start with double hash characters.
var y = 0 ## Comments are a proper part of the syntax and are indentation sensitive.
## If the next line only consists of a comment piece, it must be aligned
## either to the preceding one (documentation generator would merge these lines)
## or to the code block (starting a new comment piece).
# any misaligned comment line (like this one) would trigger an "invalid indentation" error
var z = 0 ## Alternatively you can end the preceding comment piece with a backslash \
## to reset alignment to any column you like.
## See also http://nim-code.org/tut1.html#comments

View file

@ -0,0 +1 @@
// This is a comment...

View file

@ -0,0 +1,3 @@
<@ OMT>This is a
multiline
comment</@>

View file

@ -0,0 +1 @@
-- This is a comment

View file

@ -0,0 +1,10 @@
/*
This is a comment
procedure oldproc()
/*
This is also a comment
*/
puts(1,"kill me now")
end procedure
*/
puts(1,"this is not a comment")

View file

@ -0,0 +1,2 @@
//this is a single line comment
#this also a single line comment!

View file

@ -0,0 +1,4 @@
/*This is a multi-line
comment that will be completely
ignored by the compiler/interpreter
*/

View file

@ -0,0 +1 @@
00101010010001000100100100001100

View file

@ -0,0 +1,2 @@
> Comments start where a > (greater than symbol) starts
set a 0 > Comments may start after a Set command

View file

@ -0,0 +1 @@
# this is commented

View file

@ -0,0 +1 @@
var i = 1; # this is the comment part

View file

@ -0,0 +1,2 @@
var distance #`{in meters} = (30 #`{meters} * 100 #`{seconds});
say distance; # prints: 3000

View file

@ -0,0 +1,3 @@
/*
This is a multi-line comment
*/

View file

@ -0,0 +1,10 @@
// this is a single line comment
/* This a block comment
/* containing nested comment */
*/
///This is a documentation comment
/**
This is a documentation block comment
*/

View file

@ -0,0 +1,2 @@
# this is a comment
# this is another comment

View file

@ -0,0 +1 @@
# single line comment

View file

@ -0,0 +1 @@
; this is a comment

View file

@ -0,0 +1,2 @@
# this is a single line comment
"Hello #world" # the first # on this line is part of the jq program