doc: Fix typos in README

This commit is contained in:
Glen Whitney 2023-09-11 00:17:45 -07:00
parent 6752ab1348
commit 7765a53327

View File

@ -39,6 +39,7 @@ npx vrml1to97 < old.wrl > shinynew.wrl
Currently this package exports just two functions: Currently this package exports just two functions:
* convert(vrml1: string): string * convert(vrml1: string): string
The main function, takes in VRML 1 syntax (note that it does not The main function, takes in VRML 1 syntax (note that it does not
actually check that its input is VRML 1, so its behavior is undefined actually check that its input is VRML 1, so its behavior is undefined
if given anything but valid VRML 1 syntax). Returns VRML 97 syntax for if given anything but valid VRML 1 syntax). Returns VRML 97 syntax for
@ -47,7 +48,8 @@ Currently this package exports just two functions:
approximate. approximate.
* tree97(vrml1: string): Tree * tree97(vrml1: string): Tree
Takes the same input as convert, but rathre than returning a string, it
Takes the same input as convert, but rather than returning a string, it
returns a very rough syntax tree for the converted VRML97 scene. The returns a very rough syntax tree for the converted VRML97 scene. The
returned Tree data structure is an object whose keys are property names returned Tree data structure is an object whose keys are property names
and whose values are lists of either strings or sub-Trees. Note however and whose values are lists of either strings or sub-Trees. Note however