Commit Graph

41 Commits

Author SHA1 Message Date
b227aa68ba save current status of file 2024-07-18 15:58:07 +01:00
371bc093ff fix bug revealed by checking for incorrect index metadta in line_gap.sml 2024-07-18 15:38:31 +01:00
117ffeba6e add check to verify that index is always correct in test program 2024-07-18 15:36:21 +01:00
a2549b9093 amend one bug 2024-07-16 14:26:53 +01:00
1a325fcc87 fix infinite loop in src/line_gap.sml (still have other errors I need to address though) 2024-07-16 01:03:09 +01:00
d47181921e address some bugs with one deletion function 2024-07-16 00:07:38 +01:00
99b1a32393 add debug print statements for deletion in line_gap.sml 2024-07-15 21:48:24 +01:00
7c7a4103d8 address compiler warnings and errors in src/line_gap.sml 2024-07-14 17:43:43 +01:00
1439138d50 additional progress with delete (most helper functions done) 2024-07-14 17:16:15 +01:00
cf18916d00 additional progress with delete 2024-07-14 16:39:44 +01:00
30cee61f94 progress with delete 2024-07-14 16:31:03 +01:00
4dd90b5900 progress with delete 2024-07-14 16:23:42 +01:00
19c5501777 add another helper function for deletion to line_gap.sml 2024-07-09 23:45:35 +01:00
8d540f4df9 code another deletion helper function for line_gap.sml 2024-07-07 19:49:37 +01:00
d6d2eaac1c complete initial implementation of 'moveRightAndDelete' function in line_gap.sml 2024-07-07 11:16:06 +01:00
0e384f11e3 a tiny amount of progress with delete 2024-07-05 12:09:30 +01:00
acc7767d24 progress with deletion 2024-07-04 09:47:35 +01:00
a261317e4a partially code another helper function for delete 2024-07-04 06:29:35 +01:00
9e0dc9734b code first part of delete function 2024-07-04 05:57:31 +01:00
ca3dab5193 wrap helper functions to 'insert' inside 'local ... in ... end' to semantically convey that these helper functions are never used elsewhere 2024-07-04 03:39:00 +01:00
c6fef0499e life if-statement up (so that the test is only done once, to help the branch predictor) 2024-07-04 03:24:34 +01:00
b70763b7b8 clean up line_gap.sml (removed debug editing) 2024-07-03 18:09:20 +01:00
58a56e9685 address a few things I forgot in line_gap.sml 2024-07-03 17:41:04 +01:00
3a954ceb4c remove dead comment 2024-07-03 14:49:32 +01:00
0012304854 verify another if-statement case 2024-07-03 14:35:38 +01:00
5117678c1d fix another buggy Vector.tabulate case 2024-07-03 14:05:27 +01:00
65b3db2a6a add comments about sume parts that are verified to work as far as line breaks go 2024-07-02 06:02:16 +01:00
3e924b1082 verify that moveLeftAndIns works as expected 2024-07-01 07:40:17 +01:00
1be8a40e48 fix another Vector.tabulate bug (else if statement starting from line 473) 2024-07-01 06:52:32 +01:00
c9a221b5bd clean up one if-statement branch a little 2024-06-30 16:40:05 +01:00
685a9b0e4d fix another vector joining case 2024-06-30 16:30:12 +01:00
06ca2a27a4 some bug fixing. (Code is in a messed up/broken/deoptimised stated, but I will fix that once all bugs are address.) 2024-06-30 15:14:21 +01:00
ca6cf36076 start testing correctness of line metadata 2024-06-30 02:05:48 +01:00
ba7d3579b4 move if statement that only needs to be checked once from helpBinSearch, which is recursive, to binSearch which is not recursive, for negligibly better performance (fewer branch predictions) 2024-06-30 01:37:52 +01:00
75aba5e8e1 progress on fixing exceptions with regard to vector 2024-06-30 01:32:59 +01:00
6af253eed9 verified through testing that insertion works as expected as far as contents of string is concerned. However, have added print statements which I need to remove when I have a fully working implementation 2024-06-30 00:50:38 +01:00
37653a7c85 address compiler errors/warnings 2024-06-29 23:40:39 +01:00
ffaaa8993e I think implemented insert correctly. Next: check for compile errors, and then test that insert functions as expected. 2024-06-29 23:27:32 +01:00
dfeb4c4647 progress coding fun insInRightList 2024-06-29 17:46:43 +01:00
99de90febc progress with insertion on line_gap.sml 2024-06-29 06:50:52 +01:00
2583e0edea begin coding insert for line gap buffer 2024-06-28 07:16:10 +01:00