Commit Graph

  • 1bb5a34dfe dc: Use scale for number of digits in multiplication master Roberto E. Vargas Caballero 2026-01-22 12:09:06 +01:00
  • 74096de403 bc: Fix typo Roberto E. Vargas Caballero 2026-01-22 11:26:18 +01:00
  • 02db7b173a tests: Be deterministic about stderr Roberto E. Vargas Caballero 2026-01-22 11:10:19 +01:00
  • c5bfe949dc bc: Add support for long names Roberto E. Vargas Caballero 2026-01-20 16:31:13 +01:00
  • 759ef4f504 tests/bc: Fix values in 0010-bc.sh Roberto E. Vargas Caballero 2026-01-20 16:13:41 +01:00
  • b7e30e5970 dc: Don't use negative numbers in divscale() Roberto E. Vargas Caballero 2026-01-20 16:00:33 +01:00
  • a2940adeba dc: Don't trash val next pointer Roberto E. Vargas Caballero 2026-01-19 18:49:42 +01:00
  • 40a4999b60 tests: Minor modifications and fixes Roberto E. Vargas Caballero 2026-01-19 16:25:04 +01:00
  • 6edd9510c2 tests/bc: Improve output in 0010-bc.sh Roberto E. Vargas Caballero 2026-01-19 13:42:40 +01:00
  • 1fbc996c41 tests/ed: Fix test comparation Roberto E. Vargas Caballero 2026-01-19 11:51:24 +01:00
  • dc8a781c16 bc: Remove leftover from c00921a Roberto E. Vargas Caballero 2026-01-19 09:42:23 +01:00
  • 9b4e1dd6d4 bc: Fix minor typo using EARGF Roberto E. Vargas Caballero 2026-01-19 09:35:41 +01:00
  • c00921a3a3 bc: Force a unwind string in every function Roberto E. Vargas Caballero 2026-01-18 11:26:26 +01:00
  • 1c79098178 dc: prevent segfaults by cleaning up data Elie Le Vaillant 2026-01-17 17:00:46 +01:00
  • 46c00d58d5 bc: small fixes regarding bc.library Elie Le Vaillant 2026-01-17 16:46:56 +01:00
  • 41883950c9 bc: Add -p to change the dc executable Roberto E. Vargas Caballero 2026-01-17 18:09:57 +01:00
  • 2544b70216 dc: Relax tail call optimization Roberto E. Vargas Caballero 2026-01-17 10:57:43 +01:00
  • 9439e85c04 Ignore dc Roberto E. Vargas Caballero 2026-01-17 10:07:18 +01:00
  • 53e147613a tr: Allow combining classes and sets Santtu Lakkala 2026-01-15 11:11:20 +02:00
  • 860737f897 dc: Don't use truncate() Roberto E. Vargas Caballero 2026-01-14 21:30:02 +01:00
  • 9f27b727a2 dc: Remove lower case hexa digits Roberto E. Vargas Caballero 2026-01-14 18:26:11 +01:00
  • 608f88f08f dc: Add initial version Roberto E. Vargas Caballero 2025-12-15 16:01:56 +01:00
  • a1bf3adbc5 tests: Merge stderr and stdout in 0002-printf.sh Roberto E. Vargas Caballero 2026-01-13 15:31:46 +01:00
  • c02bf1a70d tests: USE $EXEC and fix ed path Roberto E. Vargas Caballero 2026-01-13 12:11:16 +01:00
  • 59f7e45270 tests: Use exit in signal traps Roberto E. Vargas Caballero 2026-01-05 22:29:57 +01:00
  • ead2c4616a build: Remove all .o in clean Roberto E. Vargas Caballero 2025-12-31 16:15:53 +01:00
  • f7f69125cf make: Synchronize with scc Roberto E. Vargas Caballero 2025-12-31 15:31:21 +01:00
  • f8d39b2329 bc: Improve man page Roberto E. Vargas Caballero 2025-12-31 15:25:57 +01:00
  • 79bc44c184 ed: Correct behaviour of shell escape in r and w Roberto E. Vargas Caballero 2025-12-31 13:19:34 +01:00
  • dae48911d2 ed: Update man page and TODO Roberto E. Vargas Caballero 2025-12-31 13:08:52 +01:00
  • 4bc4a1d030 ed: Use the variable LINES for z Roberto E. Vargas Caballero 2025-12-31 12:38:39 +01:00
  • 60d9f7a5a9 ed: Fix multiline commands Santtu Lakkala 2025-12-16 17:59:21 +02:00
  • c11a21f426 build: Install bc library Roberto E. Vargas Caballero 2025-12-13 16:06:45 +01:00
  • 85721b5a33 bc: Add man page Roberto E. Vargas Caballero 2025-12-13 16:03:58 +01:00
  • 42ebd643f6 bc: Fix path of the bc library Roberto E. Vargas Caballero 2025-12-13 16:03:34 +01:00
  • 8ceddc568d bc: Increment the number of nestting to 32 Roberto E. Vargas Caballero 2025-12-13 15:37:08 +01:00
  • 54f1f935c0 ed: Update TODO error list Roberto E. Vargas Caballero 2025-12-13 13:29:17 +01:00
  • 77f8d7e593 ed: Add the x and X commands Roberto E. Vargas Caballero 2025-12-13 12:51:11 +01:00
  • 5765a6e6b4 ed: Implement non truncate writes Roberto E. Vargas Caballero 2025-12-13 12:05:39 +01:00
  • 08b8c73dda ed: Don't clear modflag in shell escapes Roberto E. Vargas Caballero 2025-12-13 11:52:32 +01:00
  • 5364863516 ed: Don't clear modflag until is safe Roberto E. Vargas Caballero 2025-12-13 10:42:51 +01:00
  • daec4db8a3 ed: Improve man page Roberto E. Vargas Caballero 2025-12-13 11:14:15 +01:00
  • 8227fbab2e ed: Don't clear modflag until is safe Roberto E. Vargas Caballero 2025-12-13 10:42:51 +01:00
  • 9a0d04fcf9 ed: Accept shell escapes in r, e and E commands Roberto E. Vargas Caballero 2025-12-13 10:29:17 +01:00
  • 8adf85e686 tests/ed: Fix 0008-ed.sh and 0009-ed.sh Roberto E. Vargas Caballero 2025-12-12 20:36:03 +01:00
  • 325953bd2c tests/bc: Add test cases for the bc library Roberto E. Vargas Caballero 2025-12-12 20:34:56 +01:00
  • 1106076d53 bc: Simplify loading internal library Roberto E. Vargas Caballero 2025-12-12 12:14:21 +01:00
  • d898b61ed2 bc: Don't pop value from body in while Roberto E. Vargas Caballero 2025-12-11 21:55:06 +01:00
  • 9febd6d57c bc: Add a space after relationals Roberto E. Vargas Caballero 2025-12-11 12:45:35 +01:00
  • c6cbb33ef0 bc: Unify local() and param() Roberto E. Vargas Caballero 2025-12-11 12:43:42 +01:00
  • ec8218c93b bc: Keep happy the compiler Roberto E. Vargas Caballero 2025-12-11 08:52:47 +01:00
  • 301f018935 bc: Fix relational operators Roberto E. Vargas Caballero 2025-12-11 08:46:17 +01:00
  • fbc4b42524 tests: Fix 0007-ed.sh Roberto E. Vargas Caballero 2025-12-08 18:20:07 +01:00
  • 7ff51bffd1 sbase-box: Reduce bss size using dynamic memory Roberto E. Vargas Caballero 2025-12-08 18:13:14 +01:00
  • 13db2e48d4 tests: Minor improvements to 0006-ed.sh Roberto E. Vargas Caballero 2025-12-08 18:11:19 +01:00
  • 96b9a71acf ed: Accept no address in k command Roberto E. Vargas Caballero 2025-12-08 18:03:44 +01:00
  • 284e154a27 ed: Restore newlines in match() Roberto E. Vargas Caballero 2025-12-08 17:54:10 +01:00
  • a45474cfbb ed: Accept no address in k command Roberto E. Vargas Caballero 2025-12-08 18:03:44 +01:00
  • f6a1fbb9b1 ed: Restore newlines in match() Roberto E. Vargas Caballero 2025-12-08 17:54:10 +01:00
  • beb6a2fa2a ed: Detect correctly end of file in gettxt() Roberto E. Vargas Caballero 2025-12-08 17:32:38 +01:00
  • c63dd6d499 tests: Remove cleanup functions Roberto E. Vargas Caballero 2025-12-08 17:30:50 +01:00
  • ae50e31d53 ed: Allow z commands with no address Roberto E. Vargas Caballero 2025-12-08 17:01:30 +01:00
  • 0190f5e7bf ed: Split tests Santtu Lakkala 2025-12-01 17:02:51 +02:00
  • afa8975960 bc: Unwind after calculating return expression Roberto E. Vargas Caballero 2025-11-30 21:11:22 +01:00
  • b95368aa43 bc: Add prototypes for param() and local() Roberto E. Vargas Caballero 2025-11-28 15:50:07 +01:00
  • 98923f69a1 bc: Unwind the stack in every return Roberto E. Vargas Caballero 2025-11-28 12:34:55 +01:00
  • 6edcf99488 bc: Don't reuse ids from functions Roberto E. Vargas Caballero 2025-11-27 19:02:33 +01:00
  • 26cc48e028 bc: Make funcode() return a string Roberto E. Vargas Caballero 2025-11-27 09:49:03 +01:00
  • 328295370a bc: Improve print extension Roberto E. Vargas Caballero 2025-11-26 09:17:41 +01:00
  • a360af6355 bc: Add leading space to explicit return Roberto E. Vargas Caballero 2025-11-26 08:55:10 +01:00
  • 69d08810f5 bc: Use strdup for STRING Roberto E. Vargas Caballero 2025-11-26 08:54:02 +01:00
  • e43f97dba4 bc: Obey POSIX about handling newlines Roberto E. Vargas Caballero 2025-11-26 08:47:56 +01:00
  • 4d7926403e bc: Read stdin after a list of files Roberto E. Vargas Caballero 2025-11-25 21:10:49 +01:00
  • 2cf8559bad bc: Fix indentation in bc.library Roberto E. Vargas Caballero 2025-11-25 17:14:35 +01:00
  • 2e9d76d217 bc: Use dynamic memory for strings Roberto E. Vargas Caballero 2025-11-25 16:54:04 +01:00
  • 10ad90244e bc: Fix modulo operation Roberto E. Vargas Caballero 2025-11-25 16:18:37 +01:00
  • 974179ce00 bc: Don't use freopen() Roberto E. Vargas Caballero 2025-11-25 16:08:58 +01:00
  • c759756d2e bc: Implement the . operand Roberto E. Vargas Caballero 2025-11-25 11:21:47 +01:00
  • fee2f025d0 bc: Implement plan9 print extension Roberto E. Vargas Caballero 2025-11-25 11:01:39 +01:00
  • 721e8bb7e6 bc: Rewrite macros to implement break and return Roberto E. Vargas Caballero 2025-11-25 10:31:11 +01:00
  • e656b37730 bc: Create of stack of macros Roberto E. Vargas Caballero 2025-11-24 12:27:12 +01:00
  • 9290ec59d5 bc: Implement return statements Roberto E. Vargas Caballero 2025-11-23 20:34:34 +01:00
  • 276256e9c6 Revert "bc: set used = 0 in writeout" Roberto E. Vargas Caballero 2025-11-23 20:06:17 +01:00
  • f0438f7a70 bc: Begin line count in 1 Roberto E. Vargas Caballero 2025-11-23 17:09:14 +01:00
  • d0750d57c5 bc: Accept digits beginning with . Roberto E. Vargas Caballero 2025-11-23 17:01:18 +01:00
  • d92ba69e98 bc: Build correctly local list Roberto E. Vargas Caballero 2025-11-23 14:52:20 +01:00
  • bda3c88559 bc: Fix comment parsing Roberto E. Vargas Caballero 2025-11-23 12:31:30 +01:00
  • 4e3d54e231 bc: Don't prepend bc in eprintf() Roberto E. Vargas Caballero 2025-11-23 11:53:26 +01:00
  • 56b93ad91b bc: Add support for the bc library Roberto E. Vargas Caballero 2025-11-23 11:42:10 +01:00
  • 0850438f93 bc: set used = 0 in writeout Roberto E. Vargas Caballero 2025-11-23 09:45:57 +01:00
  • b39fe92a7b bc: Fix <= relational operator Roberto E. Vargas Caballero 2025-11-23 09:43:45 +01:00
  • a49b87f927 bc: Add support for multi files Roberto E. Vargas Caballero 2025-11-22 19:29:56 +01:00
  • abce467a9d build: Fix .c and bc: rules Roberto E. Vargas Caballero 2025-11-22 12:04:36 +01:00
  • 14796edb26 bc: Adapt sbase style Roberto E. Vargas Caballero 2025-11-22 11:52:02 +01:00
  • 33ac9371b8 bc: Initial version Roberto E. Vargas Caballero 2025-11-21 23:00:34 +01:00
  • 9c9da834c3 printf: Fix string format string length calculation Santtu Lakkala 2025-11-20 17:51:01 +02:00
  • eedc752297 tests: Use heredoc for diff Roberto E. Vargas Caballero 2025-11-20 16:47:11 +01:00
  • b3c479298c ed: Add tests Santtu Lakkala 2025-11-20 15:27:54 +02:00
  • 9aa43e6808 ed: Fix double-free in join Santtu Lakkala 2025-11-20 15:27:53 +02:00
  • 6bc2a3a18f ed: doread() minor refactoring Santtu Lakkala 2025-11-20 15:27:52 +02:00