Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package janet for openSUSE:Factory checked 
in at 2024-06-25 23:08:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/janet (Old)
 and      /work/SRC/openSUSE:Factory/.janet.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "janet"

Tue Jun 25 23:08:47 2024 rev:9 rq:1183130 version:1.35.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/janet/janet.changes      2024-06-24 
20:54:17.390497014 +0200
+++ /work/SRC/openSUSE:Factory/.janet.new.18349/janet.changes   2024-06-25 
23:09:59.063788745 +0200
@@ -1,0 +2,7 @@
+Tue Jun 25 09:32:17 UTC 2024 - Soc Virnyl Estela <[email protected]>
+
+- Update to version 1.35.2
+  * Fix some documentation typos.
+  * Allow using :only in import without quoting.
+
+-------------------------------------------------------------------

Old:
----
  janet-1.35.0.tar.gz

New:
----
  janet-1.35.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ janet.spec ++++++
--- /var/tmp/diff_new_pack.NCBhKd/_old  2024-06-25 23:09:59.579807555 +0200
+++ /var/tmp/diff_new_pack.NCBhKd/_new  2024-06-25 23:09:59.583807701 +0200
@@ -18,7 +18,7 @@
 
 %global somajor 1
 %global sominor 35
-%global revision 0
+%global revision 2
 %global libname libjanet%{somajor}_%{sominor}
 
 Name:           janet

++++++ janet-1.35.0.tar.gz -> janet-1.35.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/CHANGELOG.md 
new/janet-1.35.2/CHANGELOG.md
--- old/janet-1.35.0/CHANGELOG.md       2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/CHANGELOG.md       2024-06-16 17:57:14.000000000 +0200
@@ -1,6 +1,10 @@
 # Changelog
 All notable changes to this project will be documented in this file.
 
+## 1.35.2 - 2024-06-16
+- Fix some documentation typos.
+- Allow using `:only` in import without quoting.
+
 ## 1.35.0 - 2024-06-15
 - Add `:only` argument to `import` to allow for easier control over imported 
bindings.
 - Add extra optional `env` argument to `eval` and `eval-string`.
@@ -114,7 +118,7 @@
   See http://no-color.org/
 - Disallow using `(splice x)` in contexts where it doesn't make sense rather 
than silently coercing to `x`.
   Instead, raise a compiler error.
-- Change the names of `:user8` and `:user9` sigals to `:interrupt` and `:await`
+- Change the names of `:user8` and `:user9` signals to `:interrupt` and 
`:await`
 - Change the names of `:user8` and `:user9` fiber statuses to `:interrupted` 
and `:suspended`.
 - Add `ev/all-tasks` to see all currently suspended fibers.
 - Add `keep-syntax` and `keep-syntax!` functions to make writing macros easier.
@@ -285,7 +289,7 @@
 - Add the ability to close channels with `ev/chan-close` (or `:close`).
 - Add threaded channels with `ev/thread-chan`.
 - Add `JANET_FN` and `JANET_REG` macros to more easily define C functions that 
export their source mapping information.
-- Add `janet_interpreter_interupt` and `janet_loop1_interrupt` to interrupt 
the interpreter while running.
+- Add `janet_interpreter_interrupt` and `janet_loop1_interrupt` to interrupt 
the interpreter while running.
 - Add `table/clear`
 - Add build option to disable the threading library without disabling all 
threads.
 - Remove JPM from the main Janet distribution. Instead, JPM must be installed
@@ -339,7 +343,7 @@
 - Sort keys in pretty printing output.
 
 ## 1.15.3 - 2021-02-28
-- Fix a fiber bug that occured in deeply nested fibers
+- Fix a fiber bug that occurred in deeply nested fibers
 - Add `unref` combinator to pegs.
 - Small docstring changes.
 
@@ -489,13 +493,13 @@
 - Add `symbol/slice`
 - Add `keyword/slice`
 - Allow cross compilation with Makefile.
-- Change `compare-primitve` to `cmp` and make it more efficient.
+- Change `compare-primitive` to `cmp` and make it more efficient.
 - Add `reverse!` for reversing an array or buffer in place.
 - `janet_dobytes` and `janet_dostring` return parse errors in \*out
 - Add `repeat` macro for iterating something n times.
 - Add `eachy` (each yield) macro for iterating a fiber.
 - Fix `:generate` verb in loop macro to accept non symbols as bindings.
-- Add `:h`, `:h+`, and `:h*` in `default-peg-grammar` for hexidecimal digits.
+- Add `:h`, `:h+`, and `:h*` in `default-peg-grammar` for hexadecimal digits.
 - Fix `%j` formatter to print numbers precisely (using the `%.17g` format 
string to printf).
 
 ## 1.10.1 - 2020-06-18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/meson.build new/janet-1.35.2/meson.build
--- old/janet-1.35.0/meson.build        2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/meson.build        2024-06-16 17:57:14.000000000 +0200
@@ -20,7 +20,7 @@
 
 project('janet', 'c',
   default_options : ['c_std=c99', 'build.c_std=c99', 'b_lundef=false', 
'default_library=both'],
-  version : '1.35.0')
+  version : '1.35.2')
 
 # Global settings
 janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/boot/boot.janet 
new/janet-1.35.2/src/boot/boot.janet
--- old/janet-1.35.0/src/boot/boot.janet        2024-06-15 14:11:48.000000000 
+0200
+++ new/janet-1.35.2/src/boot/boot.janet        2024-06-16 17:57:14.000000000 
+0200
@@ -116,7 +116,7 @@
 (defn nil? "Check if x is nil." [x] (= x nil))
 (defn empty? "Check if xs is empty." [xs] (= nil (next xs nil)))
 
-# For macros, we define an imcomplete odd? function that will be overriden.
+# For macros, we define an incomplete odd? function that will be overridden.
 (defn odd? [x] (= 1 (mod x 2)))
 
 (def- non-atomic-types
@@ -2654,7 +2654,7 @@
 
 (defn eval
   ``Evaluates a form in the current environment. If more control over the
-  environment is needed, use `run-context`.``
+  environment is needed, use `run-context`. Optionally pass in an `env` table 
with available bindings.``
   [form &opt env]
   (def res (compile form env :eval))
   (if (= (type res) :function)
@@ -2694,7 +2694,7 @@
 
 (defn eval-string
   ``Evaluates a string in the current environment. If more control over the
-  environment is needed, use `run-context`.``
+  environment is needed, use `run-context`. Optionally pass in an `env` table 
with available bindings.``
   [str &opt env]
   (var ret nil)
   (each x (parse-all str) (set ret (eval x env)))
@@ -2746,8 +2746,8 @@
 (defn- check-project-relative [x] (if (string/has-prefix? "/" x) x))
 
 (defdyn *module-cache* "Dynamic binding for overriding `module/cache`")
-(defdyn *module-paths* "Dynamic binding for overriding `module/cache`")
-(defdyn *module-loading* "Dynamic binding for overriding `module/cache`")
+(defdyn *module-paths* "Dynamic binding for overriding `module/paths`")
+(defdyn *module-loading* "Dynamic binding for overriding `module/loading`")
 (defdyn *module-loaders* "Dynamic binding for overriding `module/loaders`")
 (defdyn *module-make-env* "Dynamic binding for creating new environments for 
`import`, `require`, and `dofile`. Overrides `make-env`.")
 
@@ -3040,7 +3040,7 @@
   ``Merge a module source into the `target` environment with a `prefix`, as 
with the `import` macro.
   This lets users emulate the behavior of `import` with a custom module table.
   If `export` is truthy, then merged functions are not marked as private. 
Returns
-  the modified target environment. If an array `only` is passed, only merge 
keys in `only`.``
+  the modified target environment. If a tuple or array `only` is passed, only 
merge keys in `only`.``
   [target source &opt prefix export only]
   (def only-set (if only (invert only)))
   (loop [[k v] :pairs source :when (symbol? k) :when (not (v :private)) :when 
(or (not only) (in only-set k))]
@@ -3073,10 +3073,11 @@
   to re-export the imported symbols. If "`:exit true`" is given as an argument,
   any errors encountered at the top level in the module will cause `(os/exit 
1)`
   to be called. Dynamic bindings will NOT be imported. Use :fresh to bypass the
-  module cache.``
+  module cache. Use `:only [foo bar baz]` to only import select bindings into 
the
+  current environment.``
   [path & args]
   (def ps (partition 2 args))
-  (def argm (mapcat (fn [[k v]] [k (if (= k :as) (string v) v)]) ps))
+  (def argm (mapcat (fn [[k v]] [k (case k :as (string v) :only ~(quote ,v) 
v)]) ps))
   (tuple import* (string path) ;argm))
 
 (defmacro use
@@ -3744,7 +3745,7 @@
     (acquire-release ev/acquire-rlock ev/release-rlock lock body))
 
   (defmacro ev/with-wlock
-    ``Run a body of code after acquiring read access to an rwlock. Will 
automatically release the lock when done.``
+    ``Run a body of code after acquiring write access to an rwlock. Will 
automatically release the lock when done.``
     [lock & body]
     (acquire-release ev/acquire-wlock ev/release-wlock lock body))
 
@@ -3846,7 +3847,7 @@
     (string/replace-all "-" "_" name))
 
   (defn ffi/context
-    "Set the path of the dynamic library to implictly bind, as well
+    "Set the path of the dynamic library to implicitly bind, as well
      as other global state for ease of creating native bindings."
     [&opt native-path &named map-symbols lazy]
     (default map-symbols default-mangle)
@@ -4178,7 +4179,7 @@
     (not (not (os/stat (bundle-dir bundle-name) :mode))))
 
   (defn bundle/install
-    "Install a bundle from the local filesystem with a name `bundle-name`."
+    "Install a bundle from the local filesystem. The name of the bundle will 
be inferred from the bundle, or passed as a parameter :name in `config`."
     [path &keys config]
     (def path (bundle-rpath path))
     (def clean (get config :clean))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/conf/janetconf.h 
new/janet-1.35.2/src/conf/janetconf.h
--- old/janet-1.35.0/src/conf/janetconf.h       2024-06-15 14:11:48.000000000 
+0200
+++ new/janet-1.35.2/src/conf/janetconf.h       2024-06-16 17:57:14.000000000 
+0200
@@ -4,10 +4,10 @@
 #define JANETCONF_H
 
 #define JANET_VERSION_MAJOR 1
-#define JANET_VERSION_MINOR 34
-#define JANET_VERSION_PATCH 0
+#define JANET_VERSION_MINOR 35
+#define JANET_VERSION_PATCH 2
 #define JANET_VERSION_EXTRA ""
-#define JANET_VERSION "1.35.0"
+#define JANET_VERSION "1.35.2"
 
 /* #define JANET_BUILD "local" */
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/compile.h 
new/janet-1.35.2/src/core/compile.h
--- old/janet-1.35.0/src/core/compile.h 2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/compile.h 2024-06-16 17:57:14.000000000 +0200
@@ -262,7 +262,7 @@
 void janetc_popscope_keepslot(JanetCompiler *c, JanetSlot retslot);
 JanetFuncDef *janetc_pop_funcdef(JanetCompiler *c);
 
-/* Create a destory slots */
+/* Create a destroy slot */
 JanetSlot janetc_cslot(Janet x);
 
 /* Search for a symbol */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/corelib.c 
new/janet-1.35.2/src/core/corelib.c
--- old/janet-1.35.0/src/core/corelib.c 2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/corelib.c 2024-06-16 17:57:14.000000000 +0200
@@ -976,7 +976,7 @@
         /* Push the array */
         S(JOP_PUSH_ARRAY, 5),
 
-        /* Call the funciton */
+        /* Call the function */
         S(JOP_TAILCALL, 0)
     };
     janet_quick_asm(env, JANET_FUN_APPLY | JANET_FUNCDEF_FLAG_VARARG,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/debug.c 
new/janet-1.35.2/src/core/debug.c
--- old/janet-1.35.0/src/core/debug.c   2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/debug.c   2024-06-16 17:57:14.000000000 +0200
@@ -102,7 +102,7 @@
 }
 
 /* Error reporting. This can be emulated from within Janet, but for
- * consitency with the top level code it is defined once. */
+ * consistency with the top level code it is defined once. */
 void janet_stacktrace_ext(JanetFiber *fiber, Janet err, const char *prefix) {
 
     int32_t fi;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/ev.c 
new/janet-1.35.2/src/core/ev.c
--- old/janet-1.35.0/src/core/ev.c      2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/ev.c      2024-06-16 17:57:14.000000000 +0200
@@ -433,7 +433,7 @@
     }
     janet_marshal_int64(ctx, (int64_t)(duph));
 #else
-    /* Marshal after dup becuse it is easier than maintaining our own ref 
counting. */
+    /* Marshal after dup because it is easier than maintaining our own ref 
counting. */
     int duph = dup(s->handle);
     if (duph < 0) janet_panicf("failed to duplicate stream handle: %V", 
janet_ev_lasterr());
     janet_marshal_int(ctx, (int32_t)(duph));
@@ -595,7 +595,7 @@
 
 /* Shorthand to yield to event loop */
 void janet_await(void) {
-    /* Store the fiber in a gobal table */
+    /* Store the fiber in a global table */
     janet_signalv(JANET_SIGNAL_EVENT, janet_wrap_nil());
 }
 
@@ -1477,7 +1477,7 @@
 
 void janet_loop1_impl(int has_timeout, JanetTimestamp to) {
     ULONG_PTR completionKey = 0;
-    DWORD num_bytes_transfered = 0;
+    DWORD num_bytes_transferred = 0;
     LPOVERLAPPED overlapped = NULL;
 
     /* Calculate how long to wait before timeout */
@@ -1492,7 +1492,7 @@
     } else {
         waittime = INFINITE;
     }
-    BOOL result = GetQueuedCompletionStatus(janet_vm.iocp, 
&num_bytes_transfered, &completionKey, &overlapped, (DWORD) waittime);
+    BOOL result = GetQueuedCompletionStatus(janet_vm.iocp, 
&num_bytes_transferred, &completionKey, &overlapped, (DWORD) waittime);
 
     if (result || overlapped) {
         if (0 == completionKey) {
@@ -1515,7 +1515,7 @@
             if (fiber != NULL) {
                 fiber->flags &= ~JANET_FIBER_EV_FLAG_IN_FLIGHT;
                 /* System is done with this, we can reused this data */
-                overlapped->InternalHigh = (ULONG_PTR) num_bytes_transfered;
+                overlapped->InternalHigh = (ULONG_PTR) num_bytes_transferred;
                 fiber->ev_callback(fiber, result ? JANET_ASYNC_EVENT_COMPLETE 
: JANET_ASYNC_EVENT_FAILED);
             } else {
                 janet_free((void *) overlapped);
@@ -2832,7 +2832,7 @@
             janet_gcroot(janet_wrap_table(janet_vm.abstract_registry));
         }
 
-        /* Get supervsior */
+        /* Get supervisor */
         if (flags & JANET_THREAD_SUPERVISOR_FLAG) {
             Janet sup =
                 janet_unmarshal(nextbytes, endbytes - nextbytes,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/ffi.c 
new/janet-1.35.2/src/core/ffi.c
--- old/janet-1.35.0/src/core/ffi.c     2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/ffi.c     2024-06-16 17:57:14.000000000 +0200
@@ -475,7 +475,7 @@
 static void *janet_ffi_getpointer(const Janet *argv, int32_t n) {
     switch (janet_type(argv[n])) {
         default:
-            janet_panicf("bad slot #%d, expected ffi pointer convertable type, 
got %v", n, argv[n]);
+            janet_panicf("bad slot #%d, expected ffi pointer convertible type, 
got %v", n, argv[n]);
         case JANET_POINTER:
         case JANET_STRING:
         case JANET_KEYWORD:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/gc.h 
new/janet-1.35.2/src/core/gc.h
--- old/janet-1.35.0/src/core/gc.h      2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/gc.h      2024-06-16 17:57:14.000000000 +0200
@@ -64,7 +64,7 @@
 };
 
 /* To allocate collectable memory, one must call janet_alloc, initialize the 
memory,
- * and then call when janet_enablegc when it is initailize and reachable by 
the gc (on the JANET stack) */
+ * and then call when janet_enablegc when it is initialized and reachable by 
the gc (on the JANET stack) */
 void *janet_gcalloc(enum JanetMemoryType type, size_t size);
 
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/io.c 
new/janet-1.35.2/src/core/io.c
--- old/janet-1.35.0/src/core/io.c      2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/io.c      2024-06-16 17:57:14.000000000 +0200
@@ -294,7 +294,7 @@
     if (!(file->flags & (JANET_FILE_NOT_CLOSEABLE | JANET_FILE_CLOSED))) {
         ret = fclose(file->file);
         file->flags |= JANET_FILE_CLOSED;
-        file->file = NULL; /* NULL derefence is easier to debug then other 
problems */
+        file->file = NULL; /* NULL dereference is easier to debug then other 
problems */
         return ret;
     }
     return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/net.c 
new/janet-1.35.2/src/core/net.c
--- old/janet-1.35.0/src/core/net.c     2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/net.c     2024-06-16 17:57:14.000000000 +0200
@@ -325,7 +325,7 @@
 
 #endif
 
-/* Adress info */
+/* Address info */
 
 static int janet_get_sockettype(Janet *argv, int32_t argc, int32_t n) {
     JanetKeyword stype = janet_optkeyword(argv, argc, n, NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/os.c 
new/janet-1.35.2/src/core/os.c
--- old/janet-1.35.0/src/core/os.c      2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/os.c      2024-06-16 17:57:14.000000000 +0200
@@ -1413,7 +1413,7 @@
 JANET_CORE_FN(os_posix_exec,
               "(os/posix-exec args &opt flags env)",
               "Use the execvpe or execve system calls to replace the current 
process with an interface similar to os/execute. "
-              "Hoever, instead of creating a subprocess, the current process 
is replaced. Is not supported on windows, and "
+              "However, instead of creating a subprocess, the current process 
is replaced. Is not supported on windows, and "
               "does not allow redirection of stdio.") {
     return os_execute_impl(argc, argv, JANET_EXECUTE_EXEC);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/peg.c 
new/janet-1.35.2/src/core/peg.c
--- old/janet-1.35.0/src/core/peg.c     2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/peg.c     2024-06-16 17:57:14.000000000 +0200
@@ -134,7 +134,7 @@
      *   a newline character is consider to be on the same line as the 
character before
      *   (\n is line terminator, not line separator).
      * - in the not-found case, we still want to find the greatest-indexed 
newline that
-     *   is before position. we use that to calcuate the line and column.
+     *   is before position. we use that to calculate the line and column.
      * - in the case that lo = 0 and s->linemap[0] is still greater than 
position, we
      *   are on the first line and our column is position + 1. */
     int32_t hi = s->linemaplen; /* hi is greater than the actual line */
@@ -667,11 +667,11 @@
         case RULE_READINT: {
             uint32_t tag = rule[2];
             uint32_t signedness = rule[1] & 0x10;
-            uint32_t endianess = rule[1] & 0x20;
+            uint32_t endianness = rule[1] & 0x20;
             int width = (int)(rule[1] & 0xF);
             if (text + width > s->text_end) return NULL;
             uint64_t accum = 0;
-            if (endianess) {
+            if (endianness) {
                 /* BE */
                 for (int i = 0; i < width; i++) accum = (accum << 8) | text[i];
             } else {
@@ -1628,7 +1628,7 @@
                 i += 2;
                 break;
             case RULE_READINT:
-                /* [ width | (endianess << 5) | (signedness << 6), tag ] */
+                /* [ width | (endianness << 5) | (signedness << 6), tag ] */
                 if (rule[1] > JANET_MAX_READINT_WIDTH) goto bad;
                 i += 3;
                 break;
@@ -1725,7 +1725,7 @@
 JANET_CORE_FN(cfun_peg_compile,
               "(peg/compile peg)",
               "Compiles a peg source data structure into a <core/peg>. This 
will speed up matching "
-              "if the same peg will be used multiple times. Will also use 
`(dyn :peg-grammar)` to suppliment "
+              "if the same peg will be used multiple times. Will also use 
`(dyn :peg-grammar)` to supplement "
               "the grammar of the peg for otherwise undefined peg keywords.") {
     janet_fixarity(argc, 1);
     JanetPeg *peg = compile_peg(argv[0]);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/state.c 
new/janet-1.35.2/src/core/state.c
--- old/janet-1.35.0/src/core/state.c   2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/state.c   2024-06-16 17:57:14.000000000 +0200
@@ -58,7 +58,7 @@
 }
 
 /* Trigger suspension of the Janet vm by trying to
- * exit the interpeter loop when convenient. You can optionally
+ * exit the interpreter loop when convenient. You can optionally
  * use NULL to interrupt the current VM when convenient */
 void janet_interpreter_interrupt(JanetVM *vm) {
     vm = vm ? vm : &janet_vm;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/strtod.c 
new/janet-1.35.2/src/core/strtod.c
--- old/janet-1.35.0/src/core/strtod.c  2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/strtod.c  2024-06-16 17:57:14.000000000 +0200
@@ -34,9 +34,9 @@
  * because E is a valid digit in bases 15 or greater. For bases greater than
  * 10, the letters are used as digits. A through Z correspond to the digits 10
  * through 35, and the lowercase letters have the same values. The radix number
- * is always in base 10. For example, a hexidecimal number could be written
+ * is always in base 10. For example, a hexadecimal number could be written
  * '16rdeadbeef'. janet_scan_number also supports some c style syntax for
- * hexidecimal literals. The previous number could also be written
+ * hexadecimal literals. The previous number could also be written
  * '0xdeadbeef'.
  */
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/table.c 
new/janet-1.35.2/src/core/table.c
--- old/janet-1.35.0/src/core/table.c   2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/table.c   2024-06-16 17:57:14.000000000 +0200
@@ -67,7 +67,7 @@
     return table;
 }
 
-/* Initialize a table (for use withs scratch memory) */
+/* Initialize a table (for use with scratch memory) */
 JanetTable *janet_table_init(JanetTable *table, int32_t capacity) {
     return janet_table_init_impl(table, capacity, 1);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/util.h 
new/janet-1.35.2/src/core/util.h
--- old/janet-1.35.0/src/core/util.h    2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/util.h    2024-06-16 17:57:14.000000000 +0200
@@ -141,7 +141,7 @@
 #define strdup(x) _strdup(x)
 #endif
 
-/* Use LoadLibrary on windows or dlopen on posix to load dynamic libaries
+/* Use LoadLibrary on windows or dlopen on posix to load dynamic libraries
  * with native code. */
 #if defined(JANET_NO_DYNAMIC_MODULES)
 typedef int Clib;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/core/vm.c 
new/janet-1.35.2/src/core/vm.c
--- old/janet-1.35.0/src/core/vm.c      2024-06-15 14:11:48.000000000 +0200
+++ new/janet-1.35.2/src/core/vm.c      2024-06-16 17:57:14.000000000 +0200
@@ -1268,7 +1268,7 @@
 /*
  * Execute a single instruction in the fiber. Does this by inspecting
  * the fiber, setting a breakpoint at the next instruction, executing, and
- * reseting breakpoints to how they were prior. Yes, it's a bit hacky.
+ * resetting breakpoints to how they were prior. Yes, it's a bit hacky.
  */
 JanetSignal janet_step(JanetFiber *fiber, Janet in, Janet *out) {
     /* No finished or currently alive fibers. */
@@ -1613,7 +1613,7 @@
     janet_vm.registry_count = 0;
     janet_vm.registry_dirty = 0;
 
-    /* Intialize abstract registry */
+    /* Initialize abstract registry */
     janet_vm.abstract_registry = janet_table(0);
     janet_gcroot(janet_wrap_table(janet_vm.abstract_registry));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/src/include/janet.h 
new/janet-1.35.2/src/include/janet.h
--- old/janet-1.35.0/src/include/janet.h        2024-06-15 14:11:48.000000000 
+0200
+++ new/janet-1.35.2/src/include/janet.h        2024-06-16 17:57:14.000000000 
+0200
@@ -46,7 +46,7 @@
 #endif
 
 /*
- * Detect OS and endianess.
+ * Detect OS and endianness.
  * From webkit source. There is likely some extreneous
  * detection for unsupported platforms
  */
@@ -262,7 +262,7 @@
 #endif
 #endif
 
-/* Tell complier some functions don't return */
+/* Tell compiler some functions don't return */
 #ifndef JANET_NO_RETURN
 #ifdef JANET_WINDOWS
 #define JANET_NO_RETURN __declspec(noreturn)
@@ -272,7 +272,7 @@
 #endif
 
 /* Prevent some recursive functions from recursing too deeply
- * ands crashing (the parser). Instead, error out. */
+ * and crashing (the parser). Instead, error out. */
 #define JANET_RECURSION_GUARD 1024
 
 /* Maximum depth to follow table prototypes before giving up and returning 
nil. */
@@ -2150,7 +2150,7 @@
     RULE_TO,           /* [rule] */
     RULE_THRU,         /* [rule] */
     RULE_LENPREFIX,    /* [rule_a, rule_b (repeat rule_b rule_a times)] */
-    RULE_READINT,      /* [(signedness << 4) | (endianess << 5) | bytewidth, 
tag] */
+    RULE_READINT,      /* [(signedness << 4) | (endianness << 5) | bytewidth, 
tag] */
     RULE_LINE,         /* [tag] */
     RULE_COLUMN,       /* [tag] */
     RULE_UNREF,        /* [rule, tag] */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/test/suite-boot.janet 
new/janet-1.35.2/test/suite-boot.janet
--- old/janet-1.35.0/test/suite-boot.janet      2024-06-15 14:11:48.000000000 
+0200
+++ new/janet-1.35.2/test/suite-boot.janet      2024-06-16 17:57:14.000000000 
+0200
@@ -754,7 +754,7 @@
     (default name (string "has-key? " (++ test-has-key-auto)))
     (assert (= expected (has-key? col key)) name)
     (if
-      # guarenteed by `has-key?` to never fail
+      # guaranteed by `has-key?` to never fail
       expected (in col key)
       # if `has-key?` is false, then `in` should fail (for indexed types)
       #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/janet-1.35.0/test/suite-peg.janet 
new/janet-1.35.2/test/suite-peg.janet
--- old/janet-1.35.0/test/suite-peg.janet       2024-06-15 14:11:48.000000000 
+0200
+++ new/janet-1.35.2/test/suite-peg.janet       2024-06-16 17:57:14.000000000 
+0200
@@ -492,7 +492,7 @@
       # header, followed by body, and drop the :header-len capture
       :packet (/ (* :packet-header :packet-body) ,|$1)
 
-      # any exact seqence of packets (no extra characters)
+      # any exact sequence of packets (no extra characters)
       :main (* (any :packet) -1)}))
 
 (assert (deep= @["a" "bb" "ccc"] (peg/match peg2 "1:a2:bb3:ccc"))

Reply via email to