]> Lady’s Gitweb - Pisces/log
Pisces
18 months agoAdd to⸺Notation functions to numeric.js
Lady [Tue, 20 Sep 2022 03:39:11 +0000 (20:39 -0700)]
Add to⸺Notation functions to numeric.js

The default Number::toString method provides a result which is
difficult to parse. Number::toExponential and Number::toFixed are
better; they are now provided via toExponentialNotation and
toFixedDecimalNotation. Support for big·ints has been added as well.

18 months agotoIntegerOrInfinity 🔜 toIntegralNumberOrInfinity
Lady [Tue, 20 Sep 2022 03:34:38 +0000 (20:34 -0700)]
toIntegerOrInfinity 🔜 toIntegralNumberOrInfinity

This new name is clearer, especially as this function now accepts
big·int arguments.

18 months agoAdd toIntegralNumber to numeric.js 0.2.0
Lady [Mon, 19 Sep 2022 02:31:02 +0000 (19:31 -0700)]
Add toIntegralNumber to numeric.js

Also allow big·int arguments in toIntegerOrInfinity.

18 months agoAdd POSITIVE_ZERO and NEGATIVE_ZERO to numeric.js
Lady [Sun, 18 Sep 2022 22:02:31 +0000 (15:02 -0700)]
Add POSITIVE_ZERO and NEGATIVE_ZERO to numeric.js

18 months agoProvide fake external constructor for Matcher
Lady [Thu, 8 Sep 2022 05:20:46 +0000 (22:20 -0700)]
Provide fake external constructor for Matcher

Classes which depend on identity for behaviours should not be exposed
because this inheritance can be modified at runtime. This commit
provides a fake Matcher constructor which simply calls the real one.

This has a side‐effect of reducing the amount of prototype modification
which this class setup entailed, at the cost of needing to manually
redefine all the properties from the internal Matcher constructor
prototype onto the external one.

18 months agoPass exec result to constraint in Matcher
Lady [Thu, 8 Sep 2022 04:14:53 +0000 (21:14 -0700)]
Pass exec result to constraint in Matcher

18 months agoAdd support for constraints to Matcher 0.1.4
Lady [Thu, 8 Sep 2022 03:17:51 +0000 (20:17 -0700)]
Add support for constraints to Matcher

18 months agoMake toIntN & toUintN more accommodating
Lady [Thu, 8 Sep 2022 02:13:16 +0000 (19:13 -0700)]
Make toIntN & toUintN more accommodating

These used to not handle non‐integers well, and now do gracefully.

18 months agoTreat object function args more consistently 0.1.3
Lady [Sun, 4 Sep 2022 21:47:15 +0000 (14:47 -0700)]
Treat object function args more consistently

Functions like getOwnPropertyKeys now do not require that their
arguments are objects, but *do* require that they are not null or
undefined. Similarly, toObject now throws for null and undefined
values, rather than returning an empty object. Use `toObject($ ?? {})`
if you need the old behaviour.

18 months agoAdd toString to string.js
Lady [Sun, 4 Sep 2022 21:19:38 +0000 (14:19 -0700)]
Add toString to string.js

Also properly casts some arguments of string functions to strings.

18 months agoAdd toIntegerOrInfinity to numeric.js
Lady [Sun, 4 Sep 2022 21:15:36 +0000 (14:15 -0700)]
Add toIntegerOrInfinity to numeric.js

18 months agoAdd LazyLoader class 0.1.2
Lady [Sat, 23 Jul 2022 23:13:27 +0000 (16:13 -0700)]
Add LazyLoader class

18 months agoAdd isArraylikeObject 0.1.1
Lady [Sat, 23 Jul 2022 19:20:43 +0000 (12:20 -0700)]
Add isArraylikeObject

Also renames lengthOfArrayLike 🔜 lengthOfArraylike.

18 months agoUpdate README 0.1.0
Lady [Sat, 23 Jul 2022 08:37:18 +0000 (01:37 -0700)]
Update README

18 months agoRefactor base64; remove runtime dependencies
Lady [Sat, 23 Jul 2022 08:17:12 +0000 (01:17 -0700)]
Refactor base64; remove runtime dependencies

18 months agoRefactor iri; remove runtime dependencies
Lady [Sat, 23 Jul 2022 07:19:58 +0000 (00:19 -0700)]
Refactor iri; remove runtime dependencies

18 months agoAdd Matcher class for whole‐string matching
Lady [Sat, 23 Jul 2022 04:27:35 +0000 (21:27 -0700)]
Add Matcher class for whole‐string matching

18 months agoAdd arraylike functions and collection unit tests
Lady [Sat, 23 Jul 2022 02:42:47 +0000 (19:42 -0700)]
Add arraylike functions and collection unit tests

18 months agoAdd string functions and unit tests
Lady [Fri, 22 Jul 2022 02:47:55 +0000 (19:47 -0700)]
Add string functions and unit tests

18 months agoAdd numeric functions and unit tests
Lady [Sun, 17 Jul 2022 22:18:57 +0000 (15:18 -0700)]
Add numeric functions and unit tests

18 months agoRemove dependencies of function.js; add tests
Lady [Sun, 17 Jul 2022 17:52:45 +0000 (10:52 -0700)]
Remove dependencies of function.js; add tests

- No longer depends on mutable runtime bindings or other modules

- Unit tests for all function exports

18 months agoSplit some object code into value and unit test
Lady [Sun, 17 Jul 2022 20:45:08 +0000 (13:45 -0700)]
Split some object code into value and unit test

Also adds tests for module exports.

18 months agoBasic functions for object & function manipulation
Lady [Sat, 9 Jul 2022 23:02:22 +0000 (16:02 -0700)]
Basic functions for object & function manipulation

18 months agoAdd string functions
Lady [Sat, 4 Jun 2022 23:12:17 +0000 (16:12 -0700)]
Add string functions

18 months agoL·E·I·R·I support
Lady [Sat, 21 May 2022 01:09:20 +0000 (18:09 -0700)]
L·E·I·R·I support

18 months agoMore comprehensive support for RFC 3986 & RFC 3987
Lady [Tue, 17 May 2022 03:57:40 +0000 (20:57 -0700)]
More comprehensive support for RFC 3986 & RFC 3987

18 months agoPropertyDescriptor and frozenCopy
Lady [Sat, 30 Apr 2022 01:18:02 +0000 (18:18 -0700)]
PropertyDescriptor and frozenCopy

18 months agotoPrimitive and toPropertyKey
Lady [Thu, 28 Apr 2022 00:56:34 +0000 (17:56 -0700)]
toPrimitive and toPropertyKey

18 months agoInitial codes
Lady [Sat, 29 May 2021 20:37:16 +0000 (13:37 -0700)]
Initial codes

Most of this was taken from الرشآء.

This page took 0.089591 seconds and 4 git commands to generate.