math.floats.parser: new vocabulary with old string>float word
parent
db4a1f7536
commit
38ca12e9d8
|
@ -1,8 +1,8 @@
|
|||
! Copyright (C) 2008 Peter Burns, 2009 Philipp Winkler
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: arrays assocs combinators io io.streams.string json
|
||||
kernel math math.parser prettyprint
|
||||
sequences strings vectors ;
|
||||
kernel math math.floats.parser math.parser prettyprint sequences
|
||||
strings vectors ;
|
||||
IN: json.reader
|
||||
|
||||
<PRIVATE
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Slava Pestov
|
|
@ -0,0 +1,14 @@
|
|||
! Copyright (C) 2010 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: alien.c-types alien.syntax ;
|
||||
IN: math.floats.parser
|
||||
|
||||
<PRIVATE
|
||||
|
||||
LIBRARY: libc
|
||||
FUNCTION: double strtod ( char* nptr, char** endptr ) ;
|
||||
|
||||
PRIVATE>
|
||||
|
||||
: string>float ( str -- n/f ) f <void*> strtod ;
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
! Copyright (C) 2010 Erik Charlebois
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors arrays assocs grouping hashtables kernel
|
||||
locals math math.parser sequences sequences.deep
|
||||
USING: accessors arrays assocs grouping hashtables kernel locals
|
||||
math math.floats.parser math.parser sequences sequences.deep
|
||||
specialized-arrays.instances.alien.c-types.float
|
||||
specialized-arrays.instances.alien.c-types.uint splitting xml
|
||||
xml.data xml.traversal math.order
|
||||
namespaces combinators images gpu.shaders io make game.models
|
||||
game.models.util io.encodings.ascii game.models.loader ;
|
||||
xml.data xml.traversal math.order namespaces combinators images
|
||||
gpu.shaders io make game.models game.models.util
|
||||
io.encodings.ascii game.models.loader ;
|
||||
IN: game.models.collada
|
||||
|
||||
SINGLETON: collada-models
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
! Copyright (C) 2010 Erik Charlebois
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: io io.encodings.ascii math.parser sequences splitting kernel
|
||||
assocs io.files combinators math.order math namespaces
|
||||
arrays sequences.deep accessors
|
||||
USING: io io.encodings.ascii math.parser math.floats.parser
|
||||
sequences splitting kernel assocs io.files combinators
|
||||
math.order math namespaces arrays sequences.deep accessors
|
||||
specialized-arrays.instances.alien.c-types.float
|
||||
specialized-arrays.instances.alien.c-types.uint
|
||||
game.models game.models.util gpu.shaders images
|
||||
game.models.loader prettyprint ;
|
||||
specialized-arrays.instances.alien.c-types.uint game.models
|
||||
game.models.util gpu.shaders images game.models.loader
|
||||
prettyprint ;
|
||||
IN: game.models.obj
|
||||
|
||||
SINGLETON: obj-models
|
||||
|
|
Loading…
Reference in New Issue