First commit of partial RosettaCode contents.
Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
commit
1e05ecd7ee
781 changed files with 9080 additions and 0 deletions
1
Task/Comments/Forth/comments-2.fth
Normal file
1
Task/Comments/Forth/comments-2.fth
Normal file
|
|
@ -0,0 +1 @@
|
|||
: myword ( a b -- c ) ...
|
||||
2
Task/Comments/Forth/comments-3.fth
Normal file
2
Task/Comments/Forth/comments-3.fth
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
: add'em ( a b -- a+b ) + ;
|
||||
: strlen ( addr -- len ) count nip ;
|
||||
11
Task/Comments/Forth/comments-4.fth
Normal file
11
Task/Comments/Forth/comments-4.fth
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
\s skips all remaining text in the file
|
||||
(( skips until the next double-paren,
|
||||
stretching across multiple lines ))
|
||||
comment:
|
||||
Ignore all text in this section
|
||||
comment;
|
||||
doc
|
||||
Another comment block
|
||||
enddoc
|
||||
/* C-style comment */
|
||||
(* Pascal-style comment *)
|
||||
2
Task/Comments/Forth/comments.fth
Normal file
2
Task/Comments/Forth/comments.fth
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
\ The backslash skips everything else on the line
|
||||
( The left paren skips everything up to the next right paren on the same line)
|
||||
Loading…
Add table
Add a link
Reference in a new issue