1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-03 07:24:58 +03:00
Commit graph

559 commits

Author SHA1 Message Date
Graham Nelson 984909302b Improved @gestalt in C 2021-10-31 00:24:50 +01:00
Graham Nelson 429c76430f Further C assembly improvements 2021-10-30 13:04:16 +01:00
Graham Nelson 2f7624de54 Started on assembly 2021-10-29 23:57:15 +01:00
Graham Nelson ad76073090 Completed C memory model 2021-10-28 23:38:32 +01:00
Graham Nelson a69fe713a9 Improvements to memory model 2021-10-25 23:59:20 +01:00
Graham Nelson 76d2e5d70c Simplified C global variables 2021-10-25 21:44:15 +01:00
Graham Nelson 05478d28e4 Further C work 2021-10-25 10:22:54 +01:00
Graham Nelson 838d43bec4 Tidied C further 2021-10-25 00:03:03 +01:00
Graham Nelson bfa356137f Began tidying up C generator 2021-10-23 23:54:35 +01:00
Graham Nelson 5452ca63e8 Completed Inform 6 generator 2021-10-20 12:13:44 +01:00
Graham Nelson f779c3b0d9 Simplified Inter further 2021-10-20 01:11:13 +01:00
Graham Nelson 2cd7b9b221 Improved performance of propertyvalue slightly 2021-10-18 14:53:36 +01:00
Graham Nelson b0069b92ce Finally made door_to property not a special case 2021-10-18 05:31:07 +01:00
Graham Nelson 3ac8b11b97 Ternary PROPERTYVALUE.BIP 2021-10-17 22:55:41 +01:00
Graham Nelson 9f10d65ad6 Consolidated to single version of propertyexists 2021-10-16 23:48:19 +01:00
Graham Nelson 176001ec88 Improved ternary PROPERTYEXISTS_BIP 2021-10-15 23:49:12 +01:00
Graham Nelson 00b95fb35c Further refactoring of Inter to remove give, take, has, hasnt 2021-10-14 23:53:44 +01:00
Graham Nelson 0492727e4f Finished simplifying generator model for objects 2021-10-13 23:11:42 +01:00
Graham Nelson fa4facff7f Further small simplifications 2021-10-12 23:32:02 +01:00
Graham Nelson e5bf943c79 Further tidying 2021-10-12 00:30:58 +01:00
Graham Nelson 044cecf0f4 Explicated and simplified I6 generator 2021-10-11 01:11:20 +01:00
Graham Nelson e504c06fc9 Considerably tidied up vanilla 2021-10-10 14:53:42 +01:00
Graham Nelson e0d9270e17 Finished work on vanilla objects 2021-10-09 16:47:41 +01:00
Graham Nelson 4635c73903 Converging on final vanilla objects 2021-10-09 00:28:40 +01:00
Graham Nelson 2b7f86b1fb Finally simplified vanilla object algorithm 2021-10-08 10:36:36 +01:00
Graham Nelson 4dac0dfee3 Moved KindHierarchy to synoptic 2021-10-07 23:40:40 +01:00
Graham Nelson 42bb9a5486 Pushed kind tables down into final generators 2021-10-05 23:54:01 +01:00
Graham Nelson ff4cd9a1e2 Implemented pseudo-opcodes 2021-10-05 09:59:33 +01:00
Graham Nelson 8c553d6565 Tentative movement of property storage policy into assembly 2021-10-04 23:35:07 +01:00
Graham Nelson 38c332d7ba Briefer sorting 2021-10-04 00:39:30 +01:00
Graham Nelson e6ac84f444 Simplified GProperty functions 2021-10-04 00:37:38 +01:00
Graham Nelson 6c75736f1b Removed value_range pseudoproperty 2021-10-03 17:24:39 +01:00
Graham Nelson ff59659c75 Pushed attribute distinction down into I6 code generator only 2021-10-03 10:50:18 +01:00
Graham Nelson d968cd7fec Finally pushing attribute/property distinction down the stack 2021-10-02 23:52:18 +01:00
Graham Nelson 7c5e367822 Painfully slow progress 2021-10-01 11:21:09 +01:00
Graham Nelson cfe334e394 Inching towards a new runtime representation for properties 2021-09-30 23:52:36 +01:00
Graham Nelson 156a1c58fd Still sidling around the issue 2021-09-30 00:12:46 +01:00
Graham Nelson 7be308bb16 Nonworking start to attempt to push attribute/property distinction downwards 2021-09-28 23:41:07 +01:00
Graham Nelson fcf8c552ab Further struggles to understand attribute allocation 2021-09-28 00:03:31 +01:00
Graham Nelson e81b4326f5 Beginning work on vanilla object model 2021-09-27 09:21:13 +01:00
Graham Nelson 4ed53b0789 Removed segment choices from vanilla 2021-09-26 15:35:01 +01:00
Graham Nelson 7167d3c708 Removed default segment 2021-09-26 11:15:42 +01:00
Graham Nelson eb305369c4 Further vanilla refactoring 2021-09-26 11:01:13 +01:00
Graham Nelson 728a7e6dc0 Gradual vanilla refactoring 2021-09-25 18:21:49 +01:00
Graham Nelson 8d581df05a Further simplification of final module 2021-09-23 23:48:56 +01:00
Graham Nelson d240f7078f Tidying the final module 2021-09-22 17:28:55 +01:00
Graham Nelson 06bbeba416 Began untangling code generation 2021-09-21 22:34:09 +01:00
Graham Nelson 55f766b918 Renamed I7 runtime type 2021-09-20 23:26:22 +01:00
Graham Nelson 927d37f946 Added C and Inform cross-function-calling 2021-09-20 23:17:10 +01:00
Graham Nelson 7c4300bb43 Added C example 7 2021-09-19 21:53:39 +01:00
Graham Nelson f92d8c50ac Small reform of variable packages in Inter 2021-09-19 12:47:18 +01:00
Graham Nelson 2f02751919 Added i7_try to C library 2021-09-18 18:54:26 +01:00
Graham Nelson 1f1cbfb6b2 Added C sender functions 2021-09-17 20:57:52 +01:00
Graham Nelson 01533373cf Improved !style and added CSS-styling example 2021-09-16 09:06:50 +01:00
Graham Nelson f7c9debd2d Added receiver example 2021-09-15 09:42:14 +01:00
Graham Nelson 39bc558d65 Improved C receiver functions 2021-09-14 23:46:51 +01:00
Graham Nelson da9151f1f5 Documenting and tidying up C 2021-09-13 23:38:46 +01:00
Graham Nelson b4604150d6 Improved project-free compilation and unified pipelines 2021-09-13 00:33:30 +01:00
Graham Nelson 9fe3a62c25 Improved supervisor's handling of stand-alone I7 source files 2021-09-12 13:21:13 +01:00
Graham Nelson cc4287a9e7 Refactored arch module to provide new -format notation 2021-09-11 14:36:26 +01:00
Graham Nelson 0fabb281a6 Nonworking introduction of new -format 2021-09-10 23:03:09 +01:00
Graham Nelson 40a6d193c3 First attempts at hybrid C-Inform programming 2021-09-09 23:06:55 +01:00
Graham Nelson 08e67da7b1 Eliminated INVERSION_BIP 2021-09-09 09:13:21 +01:00
Graham Nelson 215317a480 Eliminated PRINTRET_BIP from Inter 2021-09-09 09:04:08 +01:00
Graham Nelson 6761e556bf Got C undo/restore working 2021-09-08 23:26:09 +01:00
Graham Nelson 4535a8711a Made global variables part of C execution state 2021-09-08 09:17:50 +01:00
Graham Nelson 4d4dd4e402 Progress towards a clearer state of C execution 2021-09-07 23:28:19 +01:00
Graham Nelson 84df463ee4 Began better abstraction of C library 2021-09-06 23:12:33 +01:00
Graham Nelson d1d945f433 Mostly sorted out C now 2021-09-05 21:56:45 +01:00
Graham Nelson f87d05cbe1 More accurately-generated C for world-model and parser code 2021-09-05 13:25:25 +01:00
Graham Nelson 6d8630bf67 Further progress 2021-09-05 09:35:10 +01:00
Graham Nelson f2958fa8a0 Non-working progress 2021-09-03 23:11:16 +01:00
Graham Nelson 9f29a341e8 Added C support for release and serial number 2021-09-02 13:36:29 +01:00
Graham Nelson 5d3b0d19cc Further small simplifications of Inter 2021-09-01 23:31:40 +01:00
Graham Nelson 52fcea6ea8 Further reduction of veneer in Inter 2021-09-01 17:53:58 +01:00
Graham Nelson 720fd496a3 Removed #identifiers_table from Inter 2021-09-01 16:32:23 +01:00
Graham Nelson c48e9d9776 Reduced presence of the veneer in Inter 2021-09-01 13:17:12 +01:00
Graham Nelson d79d911c08 First working dialogue with parser in C 2021-08-31 17:08:49 +01:00
Graham Nelson 100bc64ae3 Embryonic C grammar table 2021-08-31 13:09:34 +01:00
Graham Nelson 6ea166845b Binary search on C dictionary working 2021-08-30 23:26:37 +01:00
Graham Nelson c2587056c6 First stab at a C dictionary table 2021-08-30 22:07:40 +01:00
Graham Nelson 18576257b0 Added object tree movements and binary search to C support 2021-08-29 11:59:59 +01:00
Graham Nelson cef72acc93 A little closer to working 2021-08-27 23:24:11 +01:00
Graham Nelson 3c04253dd0 Finally made a full game compile, though not work, in C 2021-08-26 22:46:09 +01:00
Graham Nelson f8e186cf12 Handled indirect calls better in assimilation and linking 2021-08-25 22:45:31 +01:00
Graham Nelson 784d16fbec A little further 2021-08-24 08:10:05 +01:00
Graham Nelson 3d11761705 Further C wrangling 2021-08-23 22:39:50 +01:00
Graham Nelson 063cde402d Tentative trials of non-basic C 2021-08-22 14:13:10 +01:00
Graham Nelson e933592bc0 Better filenaming in C 2021-08-20 09:19:52 +01:00
Graham Nelson 3beefedb1e C passing all BIP tests 2021-08-20 00:17:55 +01:00
Graham Nelson 704b6cfd8a Began on file I/O with C 2021-08-19 23:46:32 +01:00
Graham Nelson 5da2843748 Passed all basic C tests except file-handling 2021-08-19 11:05:05 +01:00
Graham Nelson 076cf78a48 Fixed Texts test case in C 2021-08-19 08:59:41 +01:00
Graham Nelson 957ea015bd Scratchy progress 2021-08-18 23:59:31 +01:00
Graham Nelson 677edc8886 Further test case compliance for C 2021-08-17 15:55:25 +01:00
Graham Nelson be4165c201 Added rudimentary C-glk interface and improved C handling of assembly 2021-08-16 22:58:39 +01:00
Graham Nelson b9dd4b657d Passed ArithmeticOperations test in C 2021-08-15 23:41:42 +01:00
Graham Nelson 3b80fb56e1 Fixed missing case of literal text compilation 2021-08-15 12:00:01 +01:00
Graham Nelson 3211248ab5 Removed confusion between weak and strong IDs for base kind constructors at runtime 2021-08-15 11:36:31 +01:00
Graham Nelson 03eb313d72 Added conventional objects to C 2021-08-14 23:20:49 +01:00
Graham Nelson c256eba780 Added has and provides support in C 2021-08-13 22:47:28 +01:00
Graham Nelson 4032a3a12e Further reorganisation 2021-08-12 23:31:23 +01:00
Graham Nelson dc15d2f9af Further organisation 2021-08-12 19:07:06 +01:00
Graham Nelson 537f6f10bf Removed !lookupref primitive from Inter specification 2021-08-12 15:37:26 +01:00
Graham Nelson 6a92064b5e Clarified C memory model and references 2021-08-12 13:50:50 +01:00
Graham Nelson 77048c82b1 Refactored C generator and added object model 2021-08-11 23:49:36 +01:00
Graham Nelson 54713bb29c Revised to pave way for ctags files 2021-08-11 12:06:05 +01:00
Graham Nelson c2b1504318 Divided codegen module into new modules pipeline and final 2021-08-10 11:01:03 +01:00
Graham Nelson 833b2b7701 Minor bug fix 2021-08-09 23:51:17 +01:00
Graham Nelson 854b7ddeb5 Moved C testing out of inter 2021-08-09 23:30:31 +01:00
Graham Nelson a42ea12a13 Added C case support to main Inform testing 2021-08-09 22:39:07 +01:00
Graham Nelson 069a05f495 CelloWorld triumphs at last 2021-08-08 23:02:26 +01:00
Graham Nelson 8164e68281 4 2021-08-08 15:57:57 +01:00
Graham Nelson 81a718209d 7 2021-08-08 13:03:09 +01:00
Graham Nelson fc86e025c0 75 2021-08-08 01:15:15 +01:00
Graham Nelson 30cfdc0e95 Further progress towards minimal C 2021-08-07 15:44:01 +01:00
Graham Nelson 6896645641 Better function call model for C 2021-08-06 19:48:18 +01:00
Graham Nelson f2d9b89a67 Began an I7 C library 2021-08-05 23:54:01 +01:00
Graham Nelson a155270185 Steps forward and back 2021-08-04 23:21:58 +01:00
Graham Nelson 53619534ff Minor fixes 2021-08-03 23:22:22 +01:00
Graham Nelson 782eedbd94 Minor tweaks 2021-08-03 00:32:57 +01:00
Graham Nelson 378b45c841 Further C-generation hacking 2021-08-01 15:58:10 +01:00
Graham Nelson a27822d4da Eliminated string-format arrays from Inter 2021-08-01 09:59:30 +01:00
Graham Nelson f1a1a956c8 Further foundations for C 2021-07-31 23:44:47 +01:00
Graham Nelson 8d3be62bff Brought testing up to date 2021-07-30 23:11:04 +01:00
Graham Nelson fdbb852e0c Still just getting started 2021-07-29 23:44:56 +01:00
Graham Nelson 797cf56e68 Tentative beginnings of C transpiling 2021-07-28 22:44:50 +01:00
Graham Nelson 4cdb0d1d21 Completed work on the index module 2021-07-27 13:55:53 +01:00
Graham Nelson c301610103 Further refactoring 2021-07-27 00:42:09 +01:00
Graham Nelson d749074da9 Refactored the index with a better API 2021-07-26 13:48:49 +01:00
Graham Nelson d6cb4311a9 Moved localisation code to html module 2021-07-26 00:34:51 +01:00
Graham Nelson 60135aadaa Completed index localisation 2021-07-25 23:56:17 +01:00
Graham Nelson 8af471fab5 More and more localisation 2021-07-25 15:11:01 +01:00
Graham Nelson 2edb24994c Further localisation work 2021-07-24 22:04:35 +01:00
Graham Nelson 0bc8db46e2 Further index tidying 2021-07-24 18:16:56 +01:00
Graham Nelson ba165b1d1b Further localisation 2021-07-23 23:32:44 +01:00
Graham Nelson 89e83a1216 Folded index explanation into the localisation code 2021-07-22 23:24:21 +01:00
Graham Nelson 73700426b3 Second thoughts on localisation syntax 2021-07-21 23:21:56 +01:00
Graham Nelson 3afc083fb3 Localised A2 2021-07-21 00:38:26 +01:00
Graham Nelson 12bd5c2883 Further work on faux instances 2021-07-19 23:29:01 +01:00
Graham Nelson d826ec9ce3 Further faux instance reconstruction 2021-07-18 23:50:18 +01:00
Graham Nelson ddccab1e46 Simplifying faux instances 2021-07-17 23:36:16 +01:00
Graham Nelson 065e67ef0e Further work on lexicon 2021-07-16 23:25:58 +01:00
Graham Nelson 6ff39fa3e5 Refactored index lexicon 2021-07-15 23:49:25 +01:00
Graham Nelson 8ceb8ab0c0 Localised rule boxes 2021-07-14 23:27:24 +01:00
Graham Nelson 395c664cdf Parametrised localisation texts 2021-07-13 23:50:19 +01:00
Graham Nelson 84129613a5 Tidying once more 2021-07-12 23:53:41 +01:00
Graham Nelson 8194a0d04d Millimetric adjustments 2021-07-11 23:41:55 +01:00
Graham Nelson b3bfb3f699 Further tidying of index and activity boxes 2021-07-10 22:17:39 +01:00
Graham Nelson 781352da61 Writing up 2021-07-09 23:10:14 +01:00