File: simple.fs

package info (click to toggle)
fcode-utils 1.0.2-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 46,772 kB
  • ctags: 1,284
  • sloc: ansic: 9,705; csh: 241; makefile: 106; sh: 17
file content (18 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\ this is an fcode test file.

fcode-version2

: gray ( n1 -- n2 )
  dup begin 
    2/ swap over xor swap 
  while repeat  
  ;
  
: macrotest 
  dup dup >> 1+ 1+ accept 
  ;
  
\ another comment.

fcode-end