factor: fix some missing semi-colons found with:
vocab-roots get [ vocabs-from reject-some-paths ] map concat { "specialized-arrays" "specialized-vectors" "math.blas.matrices" "math.blas.vectors" "math.vectors.simd" "math.vectors.simd.cords" "game.debug" "gpu.util" "gpu.effects.blur" "gpu.effects.step" "model-viewer" "terrain.shaders" "spheres" "bunny.cel-shaded" "bunny.outlined" } diff [ modern-source-path ] map [ dup { [ uppercase-colon-literal? ] [ tag>> "CONSTANT" sequence= ] [ closing-tag>> not ] [ payload>> [ line-comment-literal? ] any? not ] } 1&& [ " ;" >>closing-tag ] when ] rewrite-pathslocals-and-roots
parent
fe7d9ca076
commit
5b278223df
|
@ -35,7 +35,7 @@ CONSTANT: IUB
|
||||||
{ char: V 0.02 }
|
{ char: V 0.02 }
|
||||||
{ char: W 0.02 }
|
{ char: W 0.02 }
|
||||||
{ char: Y 0.02 }
|
{ char: Y 0.02 }
|
||||||
}
|
} ;
|
||||||
|
|
||||||
CONSTANT: homo-sapiens
|
CONSTANT: homo-sapiens
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@ CONSTANT: homo-sapiens
|
||||||
{ char: c 0.1979883004921 }
|
{ char: c 0.1979883004921 }
|
||||||
{ char: g 0.1975473066391 }
|
{ char: g 0.1975473066391 }
|
||||||
{ char: t 0.3015094502008 }
|
{ char: t 0.3015094502008 }
|
||||||
}
|
} ;
|
||||||
|
|
||||||
TYPED: make-cumulative ( freq -- chars: byte-array floats: double-array )
|
TYPED: make-cumulative ( freq -- chars: byte-array floats: double-array )
|
||||||
[ keys >byte-array ]
|
[ keys >byte-array ]
|
||||||
|
|
|
@ -18,7 +18,7 @@ CONSTANT: light
|
||||||
-0.8017837257372732
|
-0.8017837257372732
|
||||||
0.5345224838248488
|
0.5345224838248488
|
||||||
0.0
|
0.0
|
||||||
}
|
} ;
|
||||||
|
|
||||||
CONSTANT: oversampling 4 ;
|
CONSTANT: oversampling 4 ;
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ CONSTANT: create-offsets
|
||||||
double-4{ 1.0 1.0 -1.0 0.0 }
|
double-4{ 1.0 1.0 -1.0 0.0 }
|
||||||
double-4{ -1.0 1.0 1.0 0.0 }
|
double-4{ -1.0 1.0 1.0 0.0 }
|
||||||
double-4{ 1.0 1.0 1.0 0.0 }
|
double-4{ 1.0 1.0 1.0 0.0 }
|
||||||
}
|
} ;
|
||||||
|
|
||||||
: create-bound ( c r -- sphere ) 3.0 * <sphere> ;
|
: create-bound ( c r -- sphere ) 3.0 * <sphere> ;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ CONSTANT: light
|
||||||
-0.2672612419124244
|
-0.2672612419124244
|
||||||
-0.8017837257372732
|
-0.8017837257372732
|
||||||
0.5345224838248488
|
0.5345224838248488
|
||||||
}
|
} ;
|
||||||
|
|
||||||
CONSTANT: oversampling 4 ;
|
CONSTANT: oversampling 4 ;
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
USING: layouts kernel parser math math.bitwise sequences ;
|
USING: layouts kernel parser math math.bitwise sequences ;
|
||||||
IN: persistent.hashtables.config
|
IN: persistent.hashtables.config
|
||||||
|
|
||||||
CONSTANT: radix-bits $[ cell 4 = 4 5 ? ]
|
CONSTANT: radix-bits $[ cell 4 = 4 5 ? ] ;
|
||||||
: radix-mask ( -- n ) radix-bits on-bits ; foldable
|
: radix-mask ( -- n ) radix-bits on-bits ; foldable
|
||||||
: full-bitmap-mask ( -- n ) radix-bits 2^ on-bits ; inline
|
: full-bitmap-mask ( -- n ) radix-bits 2^ on-bits ; inline
|
||||||
|
|
|
@ -32,7 +32,7 @@ CONSTANT: pov-polygons
|
||||||
{ pov-down-left { { 67 90 } { 60 90 } { 60 83 } } }
|
{ pov-down-left { { 67 90 } { 60 90 } { 60 83 } } }
|
||||||
{ pov-left { { 65 70 } { 60 75 } { 65 80 } } }
|
{ pov-left { { 65 70 } { 60 75 } { 65 80 } } }
|
||||||
{ pov-up-left { { 67 60 } { 60 60 } { 60 67 } } }
|
{ pov-up-left { { 67 60 } { 60 60 } { 60 67 } } }
|
||||||
}
|
} ;
|
||||||
|
|
||||||
: <indicator-gadget> ( color -- indicator )
|
: <indicator-gadget> ( color -- indicator )
|
||||||
indicator-polygon <polygon-gadget> ;
|
indicator-polygon <polygon-gadget> ;
|
||||||
|
|
|
@ -26,7 +26,7 @@ CONSTANT: all-fp-exceptions
|
||||||
+fp-underflow+
|
+fp-underflow+
|
||||||
+fp-zero-divide+
|
+fp-zero-divide+
|
||||||
+fp-inexact+
|
+fp-inexact+
|
||||||
}
|
} ;
|
||||||
|
|
||||||
SINGLETONS:
|
SINGLETONS:
|
||||||
+round-nearest+
|
+round-nearest+
|
||||||
|
|
|
@ -34,7 +34,7 @@ CONSTANT: codebook-style
|
||||||
{ MARKUP [ XML-CHUNK[[ <b><font color="#333333"><-></font></b> ]] ] }
|
{ MARKUP [ XML-CHUNK[[ <b><font color="#333333"><-></font></b> ]] ] }
|
||||||
{ OPERATOR [ XML-CHUNK[[ <b><font color="#111111"><-></font></b> ]] ] }
|
{ OPERATOR [ XML-CHUNK[[ <b><font color="#111111"><-></font></b> ]] ] }
|
||||||
[ drop ]
|
[ drop ]
|
||||||
}
|
} ;
|
||||||
|
|
||||||
: first-line ( filename encoding -- line )
|
: first-line ( filename encoding -- line )
|
||||||
[ readln ] with-file-reader ;
|
[ readln ] with-file-reader ;
|
||||||
|
|
|
@ -6,10 +6,10 @@ webapps.mason.utils ;
|
||||||
IN: webapps.mason.downloads
|
IN: webapps.mason.downloads
|
||||||
|
|
||||||
CONSTANT: CRASHED
|
CONSTANT: CRASHED
|
||||||
XML-CHUNK[[ <span style="background-color: yellow;">CRASHED</span> ]]
|
XML-CHUNK[[ <span style="background-color: yellow;">CRASHED</span> ]] ;
|
||||||
|
|
||||||
CONSTANT: BROKEN
|
CONSTANT: BROKEN
|
||||||
XML-CHUNK[[ <span style="background-color: red; color: white;">BROKEN</span> ]]
|
XML-CHUNK[[ <span style="background-color: red; color: white;">BROKEN</span> ]] ;
|
||||||
|
|
||||||
: builder-status ( builder -- status/f )
|
: builder-status ( builder -- status/f )
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,13 +18,13 @@ CONSTANT: oses
|
||||||
{ "windows" "Windows" }
|
{ "windows" "Windows" }
|
||||||
{ "macosx" "Mac OS X" }
|
{ "macosx" "Mac OS X" }
|
||||||
{ "linux" "Linux" }
|
{ "linux" "Linux" }
|
||||||
}
|
} ;
|
||||||
|
|
||||||
CONSTANT: cpus
|
CONSTANT: cpus
|
||||||
{
|
{
|
||||||
{ "x86.32" "x86" }
|
{ "x86.32" "x86" }
|
||||||
{ "x86.64" "x86-64" }
|
{ "x86.64" "x86-64" }
|
||||||
}
|
} ;
|
||||||
|
|
||||||
: render-grid-header ( -- xml )
|
: render-grid-header ( -- xml )
|
||||||
oses values [ XML-CHUNK[[ <th align='center' scope='col'><-></th> ]] ] map ;
|
oses values [ XML-CHUNK[[ <th align='center' scope='col'><-></th> ]] ] map ;
|
||||||
|
|
Loading…
Reference in New Issue