Commit Graph

  • 951a3a45ad Migrate to latest project structure master Bob Polis 2025-01-08 13:30:07 +01:00
  • 45b5ba897b Move test scripts into test-scripts Bob Polis 2025-01-08 13:29:40 +01:00
  • 3a857e8980 Add visual note Bob Polis 2024-12-19 09:13:40 +01:00
  • 46c4a1ac97 Fix links in README Bob Polis 2024-11-26 14:47:10 +01:00
  • 0d9e4071fe Fix links in README fix/readme-links Bob Polis 2024-11-26 14:42:24 +01:00
  • 63ea16d9e1 Merge pull request 'Fix #3: Add README.md' (#4) from proj/add-readme into master bob 2024-11-26 14:36:45 +01:00
  • 6355b545e5 Add README.md Bob Polis 2024-11-26 14:34:16 +01:00
  • f52b299a85 Update LICENSE bob 2024-11-22 15:46:26 +01:00
  • 0a1074557f Add LICENSE bob 2024-11-22 15:31:49 +01:00
  • 04a993fef5 Fix LDLIBS linker errors Bob Polis 2024-03-28 15:25:08 +01:00
  • 9df3dd7d90 Use sc::request from libscrequest Bob Polis 2023-11-05 00:49:55 +00:00
  • d8e726705a Add libscrequest Bob Polis 2023-11-05 00:49:38 +00:00
  • 86e48c043a Remove requester Bob Polis 2023-11-05 00:49:26 +00:00
  • 4aa4734ffc Add check for http status, add post method Bob Polis 2023-11-04 23:52:27 +00:00
  • b4910b1ab7 Changed url Bob Polis 2023-10-14 17:10:48 +02:00
  • dbfb187e7c Added libscterm dependency Bob Polis 2023-09-04 10:52:15 +02:00
  • 36589ccfbc Fixed Makefile Bob Polis 2023-03-23 14:43:03 +01:00
  • cd249bc9dd Added premake.make Bob Polis 2023-02-09 17:05:37 +01:00
  • 96dba49bf1 Fixed Makfile Bob Polis 2023-02-09 17:04:18 +01:00
  • b5b369b080 Changed domain to bobpolis.com Bob Polis 2022-08-19 09:02:02 +02:00
  • d600cfb7c5 Added compiler, as stand-in replacement for interpreter Bob Polis 2022-08-19 08:47:07 +02:00
  • 37ef764af7 Changed to compiler Bob Polis 2022-08-19 08:46:53 +02:00
  • db255d5cf2 Removed -pthread and -fno-strict-aliasing flags Bob Polis 2021-11-13 19:13:07 +01:00
  • 70ab7cb13b Changed url Bob Polis 2021-09-24 15:16:13 +02:00
  • 4aaeba9505 Added example Bob Polis 2021-09-24 14:55:19 +02:00
  • ba776a46eb Added substring test Bob Polis 2021-09-24 14:41:56 +02:00
  • 7eb6dcb5ef Removed const from main signature Bob Polis 2021-09-17 17:12:02 +02:00
  • f8ea704231 sources now taken from src directory Bob Polis 2020-11-08 13:26:54 +01:00
  • 5e9b21de30 moved sources into src directory Bob Polis 2020-11-08 13:26:27 +01:00
  • 08c45600d2 simplified data transfer: now directly appended to std::string Bob Polis 2020-11-04 14:06:01 +01:00
  • 9ef1ffc1c9 replaced Makefile with new one that makes build dir Bob Polis 2020-10-30 23:24:30 +01:00
  • 34aaee7509 now forbids copying and moving Bob Polis 2020-10-30 13:26:23 +01:00
  • 191aafa32b added destructor to requester for global cleanup Bob Polis 2020-10-30 11:11:30 +01:00
  • 567dbd584a added ftp upload to sync target Bob Polis 2020-09-28 16:05:59 +02:00
  • 6626600c6a added more files in between, expanded code significantly Bob Polis 2020-09-28 14:11:51 +02:00
  • 6ea02554cf changed test string Bob Polis 2020-09-28 14:10:36 +02:00
  • 827b183550 fixed bug where loop index would stay on value stack Bob Polis 2020-09-28 14:10:17 +02:00
  • ac18daa74c added some test scripts to use (and test) previously unused instructions Bob Polis 2020-09-27 17:57:13 +02:00
  • 2700122ca3 added coverage script to quickly get overview of instructions used in given krul scripts Bob Polis 2020-09-27 17:39:36 +02:00
  • 9c9319dd8a added find and replace script Bob Polis 2020-09-26 23:56:02 +02:00
  • e87b32d72a moved to_int into pop_int; compacted second pass by removing continues and changing to else-if Bob Polis 2020-09-22 15:03:00 +02:00
  • a20f002341 added convenience methods pop_int and pop_str, which saved a lot of code Bob Polis 2020-09-22 14:12:39 +02:00
  • 7a6f9df82f more readable syntax error construction Bob Polis 2020-09-22 13:41:23 +02:00
  • 0e735ce7a8 moved headers around a bit Bob Polis 2020-09-22 13:38:17 +02:00
  • d1c4106bba renamed _stack to _values, to make a clearer distinction between value and call stacks Bob Polis 2020-09-22 13:13:50 +02:00
  • 6fe4894c70 removed unnecessary extra initialisation Bob Polis 2020-09-22 11:02:41 +02:00
  • 184cab5205 improved first pass by using prog vector size instead of pc; added pc offset vector clear to reset Bob Polis 2020-09-22 10:51:20 +02:00
  • 27ad2a900c changed all prog indices to size_t; added explanatory comments to ivars Bob Polis 2020-09-22 10:50:07 +02:00
  • ea525575ab expanded syntax error test by adding labels and comments Bob Polis 2020-09-21 16:38:32 +02:00
  • 2689faa67c fixed line numbers for syntax errors by considering removed source lines: labels, comments Bob Polis 2020-09-21 16:37:40 +02:00
  • eeeaf894e0 moved comment parsing to first pass, to save program space Bob Polis 2020-09-21 12:41:29 +02:00
  • 9c4bd366b6 added catch handler for syntax error when processing file args, for a clear error message with line number included Bob Polis 2020-09-21 12:26:32 +02:00
  • 372bc976a0 improved syntax_error to hold line number as well Bob Polis 2020-09-21 12:25:40 +02:00
  • 27b798a83e added test for improved syntax error Bob Polis 2020-09-21 12:25:09 +02:00
  • a78a2ebff2 removed empty line Bob Polis 2020-09-21 11:49:49 +02:00
  • a9b707599f moved curl requester to no args section; when called with file arg will now execute that local file Bob Polis 2020-09-21 10:46:31 +02:00
  • 49626f9925 added recognition of # at start of line as comment desginator Bob Polis 2020-09-21 10:45:49 +02:00
  • 98602abb9e moved test scripts to new tests dir and made them executable Bob Polis 2020-09-21 10:45:06 +02:00
  • 749ae0faa7 added code to test inp and err instructions Bob Polis 2020-09-21 10:17:41 +02:00
  • b46fae13d7 added inp and err instructions Bob Polis 2020-09-21 10:17:16 +02:00
  • c41883c11a removed comment Bob Polis 2020-09-21 10:16:36 +02:00
  • 7dfa8123a9 simplified gcd.txt by reordering stack stuff Bob Polis 2020-09-14 09:23:40 +02:00
  • 91d6d59c1b added "out" instruction; fixed comparison bugs by converting values to int first Bob Polis 2020-09-13 16:55:02 +02:00
  • bd026a21d5 added slicer.txt with slice function Bob Polis 2020-09-13 16:54:10 +02:00
  • a5c8ddae35 delegated all RAII for curl handle to unique_ptr Bob Polis 2020-09-12 19:34:32 +02:00
  • 159feb0dac added lcm function Bob Polis 2020-09-12 18:31:58 +02:00
  • ce44657a98 renamed some labels to make combining with other functions easier (global label names!) Bob Polis 2020-09-11 12:59:18 +02:00
  • edb61d1b09 added test file; added index file to prevent directory listing by web server Bob Polis 2020-09-10 15:28:12 +02:00
  • c4ade5ee09 changed to use start.txt as default, to be overridden by argv[1] Bob Polis 2020-09-09 18:29:17 +02:00
  • 79715ad9df added function test with gcd calculation Bob Polis 2020-09-09 12:35:32 +02:00
  • 41c83877a7 fixed label position calculation Bob Polis 2020-09-09 11:52:01 +02:00
  • 344f26b05f added 2 code files; added enl instruction; completed main to do the right thing Bob Polis 2020-09-07 18:50:09 +02:00
  • b0a3637b1d implemented interpreter; setup code dir; added code sync to Makefile Bob Polis 2020-09-07 11:40:58 +02:00
  • df283d562d partial start of implementation for interpreter Bob Polis 2020-09-06 12:57:55 +02:00
  • 00d0eac893 partial start of implementation for interpreter Bob Polis 2020-09-06 12:57:28 +02:00
  • 431367cb40 added .gitignore for built executable Bob Polis 2020-09-05 14:40:54 +02:00
  • b102dfee4b minor improvements Bob Polis 2020-09-02 11:25:13 +02:00
  • b9df8cdb02 refactored into a proper RAII class for a curl handle Bob Polis 2020-09-02 10:59:31 +02:00
  • f4f3b5a32f added header for good measure Bob Polis 2020-09-02 10:02:50 +02:00
  • c155a70fad minor code formatting change Bob Polis 2020-09-02 09:57:45 +02:00
  • 762f58edd0 removed unnecessary includes Bob Polis 2020-09-02 09:57:21 +02:00
  • d38251fe66 refactored curl code into new helper class Bob Polis 2020-09-02 09:53:22 +02:00
  • efaf6124e5 first commit Bob Polis 2020-09-01 16:12:41 +02:00