1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-03 21:39:54 +00:00
janet/test
Calvin Rose 872b39cc32 Add syntax literals for signed and unsigned 64 bit integers.
Number literals can now take an optional "representation" suffix

- Use `:n` for normal numbers (IEEE-754 doubles)
- Use `:s` for signed 64 bit integers
- Use `:u` for unsigned 64 bit integers
- Other suffix will fallthrough the usual parseing logic. This means
  that they will only possibly resolve to symbols if they start with -,
  +, or .

The syntax does not collide with any existing valid Janet and is only
enabled with JANET_INTTYPES. This also leaves open a syntax for other
number types such as bignums, ratios, decimals, etc.
2024-07-21 09:45:44 -05:00
..
amalg Update copyrights. 2023-01-07 15:04:56 -06:00
fuzzers Make janet_equals and janet_compare non recursive 2020-04-24 16:18:31 -05:00
helper.janet Improve assert-no-error test helper. 2023-10-08 17:34:50 -05:00
suite-array.janet update final array index to be -1 2023-07-14 17:34:55 +07:00
suite-asm.janet Fix asm roundtrip issue. 2024-03-10 09:07:11 -05:00
suite-boot.janet Fix typos 2024-06-16 06:59:27 -07:00
suite-buffer.janet Error on buffer/push-uint16 with non 16 bit unsigned integer. 2024-06-15 06:47:47 -05:00
suite-bundle.janet Change interface for bundle/install 2024-05-26 16:26:08 -05:00
suite-capi.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-cfuns.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-compile.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-corelib.janet Fix formatting. 2024-07-12 15:22:46 -05:00
suite-debug.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-ev.janet Make host and port configurable for suite-ev.janet 2024-01-28 07:56:59 -06:00
suite-ffi.janet Add support for the AAPCS64 calling convention 2024-06-23 18:22:25 +02:00
suite-inttypes.janet Add syntax literals for signed and unsigned 64 bit integers. 2024-07-21 09:45:44 -05:00
suite-io.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-marsh.janet Add test for marshalling channels. 2023-07-02 13:13:59 -05:00
suite-math.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-os.janet Add additional format options for os/clock 2024-03-27 22:32:27 -07:00
suite-parse.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-peg.janet Fix typos 2024-06-16 06:59:27 -07:00
suite-pp.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-specials.janet Fix regression #1327 2023-11-14 19:52:22 -06:00
suite-string.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-strtod.janet Add test cases for div and mod 2023-06-30 19:48:45 +07:00
suite-struct.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-symcache.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-table.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-unknown.janet add buffer/from-bytes 2023-08-18 12:35:12 +07:00
suite-value.janet Merge changes from bundle-tools branch: 2024-05-26 12:04:35 -05:00
suite-vm.janet Reorganize tests 2023-06-02 07:04:07 +09:00