]> gitweb.factorcode.org Git - factor.git/commitdiff
fix some typos in docs.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Feb 2018 00:22:49 +0000 (16:22 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Feb 2018 00:22:49 +0000 (16:22 -0800)
12 files changed:
basis/compiler/cfg/cfg-docs.factor
basis/compiler/cfg/stacks/global/global-docs.factor
basis/compiler/codegen/relocation/relocation-docs.factor
basis/editors/vim/vim-docs.factor
basis/http/http-docs.factor
basis/ui/gadgets/line-support/line-support-docs.factor
basis/ui/gadgets/tracks/tracks-docs.factor
basis/unix/groups/groups-docs.factor
core/definitions/definitions-docs.factor
core/generic/math/math-docs.factor
core/sequences/sequences-docs.factor
extra/talks/jvm-summit-talk/jvm-summit-talk.factor

index 4586423d426f31b8642ad0ef6ecd2c2e0ef79a61..205faec44606c8dd709792c4b4121827cd59481c 100644 (file)
@@ -46,7 +46,7 @@ HELP: basic-block
     }
   }
 }
-{ $notes "A basic-block is an " { $link identity-tuple } " becase it is used as a hash table key by the compiler." } ;
+{ $notes "A basic-block is an " { $link identity-tuple } " because it is used as a hash table key by the compiler." } ;
 
 HELP: <basic-block>
 { $values { "bb" basic-block } }
index 23ffc69b41254ab7272f87c49fe55719239142bb..c442f226df9486ddfc4fe29856761049d7dc00fd 100644 (file)
@@ -18,7 +18,7 @@ HELP: pending
 { $class-description "A stack location is pending at a location if all paths from the entry block to the location write the location." } ;
 
 ARTICLE: "compiler.cfg.stacks.global" "Global stack analysis"
-"This vocab defines a bunch of dataflow analysises:"
+"This vocab defines a bunch of dataflow analyses:"
 { $subsections avail anticip dead live pending }
 "The info they gather is used by " { $link finalize-stack-shuffling } " for optimal insertion of " { $link ##peek } " and " { $link ##replace } " instructions." ;
 
index 6f90b557402b17280437fd0b1d94b90acaefd38d..84bbc7ef07e5846d1cfce72b2a65385c35910eae 100644 (file)
@@ -51,7 +51,7 @@ HELP: rel-decks-offset
 
 HELP: rel-literal
 { $values { "literal" "a literal" } { "class" "a relocation class" } }
-{ $description "Adds a refrence to a literal value to the current code offset." } ;
+{ $description "Adds a reference to a literal value to the current code offset." } ;
 
 HELP: rel-safepoint
 { $values { "class" "a relocation class" } }
index 67a916e5e25e0a8f86b291102a7f6bd124127faf..1c6d9502d329dd098b4b47f171547db5bf907333 100644 (file)
@@ -11,6 +11,6 @@ ARTICLE: "editors.vim" "Vim support"
     { "If you want to start vim in an extra terminal, use something like this:" { $code "{ \"urxvt\" \"-e\" \"vim\" } vim-path set-global" } "Replace " { $snippet "urxvt" } " by your terminal of choice." }
 }
 $nl
-"You may also wish to install Vim support files to enable syntax hilighting and other features. These are in the " { $link resource-path } " in " { $snippet "misc/vim" } "."
+"You may also wish to install Vim support files to enable syntax highlighting and other features. These are in the " { $link resource-path } " in " { $snippet "misc/vim" } "."
 { $see-also "editor" }
 ;
index d07def55d36debc117e2a808f52ecd00370d21eb..00709fa742bb325209f86fd77081dc2135ebdae5 100644 (file)
@@ -197,9 +197,9 @@ $nl
 
 ARTICLE: "http.proxy-variables" "HTTP(S) proxy variables"
 { $heading "Proxy Variables" }
-"The http and https proxies can be configured per request, or with Factor's dynamic variables, or with the system's environnement variables (searched from left to right) :"
+"The http and https proxies can be configured per request, or with Factor's dynamic variables, or with the system's environment variables (searched from left to right) :"
 { $table
-{ "variable" "Factor dynamic" "environnement #1" "environnement #2" }
+{ "variable" "Factor dynamic" "environment #1" "environment #2" }
 { "HTTP" { $snippet "\"http.proxy\"" } "http_proxy" "HTTP_PROXY" }
 { "HTTPS" { $snippet "\"https.proxy\"" } "https_proxy" "HTTPS_PROXY" }
 { "no proxy" { $snippet "\"no_proxy\"" } "no_proxy" "NO_PROXY" }
index 10587885e6dc529b69dfaac5a78141f91ce39dad..312ded912447033dde469b52a2808a664fda432a 100644 (file)
@@ -36,7 +36,7 @@ HELP: line-gadget
 
 HELP: pref-viewport-dim*
 { $values { "gadget" line-gadget } { "dim" array } }
-{ $description "Calculates the preferred viewport dimenstions of the line gadget." }
+{ $description "Calculates the preferred viewport dimensions of the line gadget." }
 { $see-also pref-viewport-dim } ;
 
 ARTICLE: "ui.gadgets.line-support" "Gadget line support"
index 983aa23b142149c45a59cbcf0d23cc1c04fd6da1..b32757316bb65f71fe4d9507271230df9ef2cb02 100644 (file)
@@ -27,6 +27,6 @@ HELP: track
 
 HELP: track-add
 { $values { "track" track } { "gadget" gadget } { "constraint" "a number between 0 and 1, or " { $link f } } }
-{ $description "Adds a new child to a track. If the constraint is " { $link f } ", the child always occupies its preferred size. Otherwise, the constrant is a fraction of the total size which is allocated for the child." } ;
+{ $description "Adds a new child to a track. If the constraint is " { $link f } ", the child always occupies its preferred size. Otherwise, the constraint is a fraction of the total size which is allocated for the child." } ;
 
 ABOUT: "ui-track-layout"
index 6498e42e5a3d7ef28f65729b4dcb68cbae43f255..e9b72fc40566696d51383175de966ee70694c62e 100644 (file)
@@ -66,7 +66,7 @@ HELP: user-groups
 HELP: with-effective-group
 { $values
      { "string/id/f" "a string, a group id, or f" } { "quot" quotation } }
-{ $description "Sets the effective group name and calls the quotation. Restors the effective group name on success or on error after the call. If the first parameter is " { $link f } ", the quotation is called as the current user." } ;
+{ $description "Sets the effective group name and calls the quotation. Restores the effective group name on success or on error after the call. If the first parameter is " { $link f } ", the quotation is called as the current user." } ;
 
 HELP: with-group-cache
 { $values
index 2d39e387417d1c0c739b8b56d60cdf1063105c16..df02b8e485f8bbd65b7bcacf327e6f900dbce6b4 100644 (file)
@@ -75,7 +75,7 @@ ABOUT: "definitions"
 
 HELP: changed-definition
 { $values { "defspec" "definition" } }
-{ $description "Adds the definitio to the unit's " { $link changed-definitions } "." } ;
+{ $description "Adds the definition to the unit's " { $link changed-definitions } "." } ;
 
 HELP: changed-definitions
 { $var-description "A set that contains all words and vocabs whose definitions have changed or are new. " }
index ed2339d8de6d17ee4cc7fcec7defd47dc4da9f95..29ad191343046618897bc424b9c5e891ae47c76d 100644 (file)
@@ -15,7 +15,7 @@ HELP: math-class-max
 
 HELP: math-upgrade
 { $values { "class1" class } { "class2" class } { "quot" { $quotation ( n n -- n n ) } } }
-{ $description "Outputs a quotation for upgrading numberical types. It takes two numbers on the stack, an instance of " { $snippet "class1" } ", and an instance of " { $snippet "class2" } ", and converts the one with the lower priority to the higher priority type." }
+{ $description "Outputs a quotation for upgrading numerical types. It takes two numbers on the stack, an instance of " { $snippet "class1" } ", and an instance of " { $snippet "class2" } ", and converts the one with the lower priority to the higher priority type." }
 { $examples { $example "USING: generic.math math kernel prettyprint ;" "fixnum bignum math-upgrade ." "[ [ >bignum ] dip ]" } } ;
 
 HELP: no-math-method
index a5cc0873bb5c3494bc95fcb71d638c6564facca8..af69bbebd9dc983737daba51f3ae941748dfc94e 100644 (file)
@@ -528,7 +528,7 @@ HELP: find-index
           { "quot" { $quotation ( ... elt i -- ... ? ) } }
           { "i" { $maybe "the index of the first match" } }
           { "elt" { $maybe "the first matching element" } } }
-{ $description "A varient of " { $link find } " where the quotation takes both an element and its index." } ;
+{ $description "A variant of " { $link find } " where the quotation takes both an element and its index." } ;
 
 HELP: find-index-from
 { $values { "n" "a starting index" }
@@ -536,7 +536,7 @@ HELP: find-index-from
           { "quot" { $quotation ( ... elt i -- ... ? ) } }
           { "i" { $maybe "the index of the first match" } }
           { "elt" { $maybe "the first matching element" } } }
-{ $description "A varient of " { $link find-from } " where the quotation takes both an element and its index." } ;
+{ $description "A variant of " { $link find-from } " where the quotation takes both an element and its index." } ;
 
 HELP: map-find
 { $values { "seq" sequence } { "quot" { $quotation ( ... elt -- ... result/f ) } } { "result" "the first non-false result of the quotation" } { "elt" { $maybe "the first matching element" } } }
index 24969bc5f072772cfbd25d1c0257190b263c17a9..b91bf01f7a131325bd7fa0f4fd59190479032bf5 100644 (file)
@@ -174,7 +174,7 @@ CONSTANT: jvm-summit-slides
         "Even if we inline complex arithmetic methods, still dispatching on components"
         "Solution: propagate slot info"
     }
-    { $slide "Constrant propagation"
+    { $slide "Constraint propagation"
         "Contrieved example:"
         { $code
             "x = •"
@@ -187,7 +187,7 @@ CONSTANT: jvm-summit-slides
         }
         { "We should be able to inline the call to " { $snippet "length" } " in the true branch" }
     }
-    { $slide "Constrant propagation"
+    { $slide "Constraint propagation"
         "We build a table:"
         { $code
             "b true => x is array"