1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-02 23:14:57 +03:00
Commit graph

453 commits

Author SHA1 Message Date
Graham Nelson 06bbeba416 Began untangling code generation 2021-09-21 22:34:09 +01:00
Graham Nelson 927d37f946 Added C and Inform cross-function-calling 2021-09-20 23:17:10 +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 4a3dd923b2 Removed spurious newline in Basic Inform projects to C 2021-09-14 09:14:25 +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 215317a480 Eliminated PRINTRET_BIP from Inter 2021-09-09 09:04:08 +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 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 c48e9d9776 Reduced presence of the veneer in Inter 2021-09-01 13:17:12 +01:00
Graham Nelson 100bc64ae3 Embryonic C grammar table 2021-08-31 13:09:34 +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 f8e186cf12 Handled indirect calls better in assimilation and linking 2021-08-25 22:45:31 +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 3beefedb1e C passing all BIP tests 2021-08-20 00:17:55 +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 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 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 c2b1504318 Divided codegen module into new modules pipeline and final 2021-08-10 11:01:03 +01:00
Graham Nelson a42ea12a13 Added C case support to main Inform testing 2021-08-09 22:39:07 +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 782eedbd94 Minor tweaks 2021-08-03 00:32:57 +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 c301610103 Further refactoring 2021-07-27 00:42:09 +01:00
Graham Nelson d6cb4311a9 Moved localisation code to html module 2021-07-26 00:34:51 +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 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 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
Graham Nelson 7cb89b4697 A little more writing-up 2021-07-08 22:56:01 +01:00
Graham Nelson 48f3aa8f58 Improved index CSS and Javascript incorporation 2021-07-07 23:43:23 +01:00
Graham Nelson 46deeab935 Simplified index interpreter 2021-07-06 23:26:06 +01:00
Graham Nelson 06d570a15a Formalised localisation 2021-07-05 23:39:01 +01:00
Graham Nelson 07ce83cfab Continued attempts to find some semblance of logical structure 2021-07-04 23:04:18 +01:00
Graham Nelson 84b72ced4b Reconstructed the index code to use localisation dictionary 2021-07-03 23:11:42 +01:00
Graham Nelson ea64b9c1f6 Some juggling of files 2021-07-02 23:04:28 +01:00
Graham Nelson 2445e3d16b Tested out the localisation dictionary-reader 2021-07-01 00:33:52 +01:00
Graham Nelson 2592971ec3 Split index structure into two cases 2021-06-29 23:33:22 +01:00
Graham Nelson 5df3bb5503 Began localisation of index 2021-06-28 23:33:14 +01:00
Graham Nelson d96a6168d8 Migrated Mp element 2021-06-27 14:56:29 +01:00
Graham Nelson 02acbdf37c Began cross-referencing instance packages 2021-06-26 12:00:59 +01:00
Graham Nelson 816d19ec28 Slightly further on 2021-06-25 08:13:34 +01:00
Graham Nelson 062a6fe708 Further use of instance packages 2021-06-24 13:31:51 +01:00
Graham Nelson 9209026930 Migrated mapping to codegen 2021-06-23 00:23:35 +01:00
Graham Nelson df0f26c502 Reduced use of original references 2021-06-22 10:53:56 +01:00
Graham Nelson 627b2dcdbb Removed redundant code from the former indexer 2021-06-21 00:36:17 +01:00
Graham Nelson ded2695dc4 Migrated Cm element 2021-06-20 12:16:28 +01:00
Graham Nelson 29d137adae Migrated To element 2021-06-19 00:03:16 +01:00
Graham Nelson c057742c69 Prepared for grammar indexing 2021-06-18 23:32:48 +01:00
Graham Nelson 3b12394439 Migrated Pb 2021-06-17 22:44:40 +01:00
Graham Nelson 2f145076e7 Migrated Ch element 2021-06-16 19:59:07 +01:00
Graham Nelson 01859046f1 The endless road to Ch 2021-06-15 23:35:45 +01:00
Graham Nelson 6839e071ed And further with Ch 2021-06-14 00:18:41 +01:00
Graham Nelson 94353d93bf Migrated Pl element 2021-06-13 18:04:57 +01:00
Graham Nelson 6c43048274 Migrated Vb element 2021-06-12 09:45:06 +01:00
Graham Nelson 09edd5d09f Progress of a sort with the lexicon 2021-06-11 23:33:59 +01:00
Graham Nelson 415bfa689e Made a minimal shim for moving the lexicon 2021-06-10 23:22:43 +01:00
Graham Nelson 5a02e43194 Migrated St element 2021-06-09 12:02:33 +01:00
Graham Nelson f1342102c8 Migrated Xt element 2021-06-08 23:26:10 +01:00
Graham Nelson 69bec5e40b Began porting the rulebook-indexer 2021-06-07 23:03:35 +01:00
Graham Nelson c1c249b1e9 Partially migrated Vl element 2021-06-06 12:01:16 +01:00
Graham Nelson 32dc947b8e Migrated Ev element 2021-06-05 10:47:52 +01:00
Graham Nelson 4ca7bd1285 Test case for Events index 2021-06-04 22:48:38 +01:00
Graham Nelson 1250544a46 Migrated Bh and Rl 2021-06-03 23:03:51 +01:00
Graham Nelson 76e952cc75 Began element-based rearrangement of index 2021-06-02 21:13:46 +01:00
Graham Nelson e8aa7243c7 Migrated Cd element 2021-06-01 23:00:22 +01:00
Graham Nelson 409411440a Began a migration of indexing to codegen 2021-05-31 17:45:44 +01:00
Graham Nelson 38e14c23c7 Finally completed refactor of command grammar 2021-05-30 14:42:29 +01:00
Graham Nelson c79ea43546 Divided grammar token and line typechecking from compilation 2021-05-29 23:39:22 +01:00
Graham Nelson 274793aa87 Incomplete refactor of CG compiler 2021-05-28 23:18:35 +01:00
Graham Nelson bbf943f128 Refactored grammar line compilation 2021-05-27 23:28:16 +01:00
Graham Nelson 7142669716 Refactored command grammar compilation via agents 2021-05-26 10:08:53 +01:00
Graham Nelson 56235a21c5 Started in on the AP matching code 2021-05-25 00:04:01 +01:00
Graham Nelson 7808098c31 Improved instance counting 2021-05-23 11:34:11 +01:00
Graham Nelson ad422e1303 Made test scripts synoptic 2021-05-22 09:49:04 +01:00
Graham Nelson 159b15d619 Refactored scene compilation, marginally 2021-05-21 21:12:32 +01:00
Graham Nelson c2e20f19ee Completed refactor of internal test runner 2021-05-20 12:08:24 +01:00
Graham Nelson 6f95e077fc Improved short name compilation 2021-05-19 20:11:02 +01:00
Graham Nelson d5c7c4a3e3 Further rearrangement of deckchairs 2021-05-18 22:20:35 +01:00
Graham Nelson 12f04c461c Compiled max score and ranking table better 2021-05-17 09:18:28 +01:00
Graham Nelson 4d396fadc4 Simplified, and also complicated, default values 2021-05-16 11:37:28 +01:00
Graham Nelson 27787a3473 Divided up and simplified kind compilation 2021-05-15 23:31:42 +01:00
Graham Nelson d60b131e50 Began work on refactoring kind constructors 2021-05-14 14:12:46 +01:00
Graham Nelson 489a0de7a2 Packaged literal patterns 2021-05-13 08:40:51 +01:00
Graham Nelson c703a94d0a Started in on runtime relations 2021-05-12 10:47:14 +01:00
Graham Nelson dec03b1ad8 Improved property compilation 2021-05-11 09:19:15 +01:00
Graham Nelson 36300d6302 Improved variables compilation 2021-05-10 09:31:35 +01:00
Graham Nelson 948f1d5fc8 Better local rule and rulebook compilation 2021-05-09 18:56:10 +01:00
Graham Nelson 4a3e6d0cf7 More systematic synoptic generation 2021-05-08 13:11:12 +01:00
Graham Nelson 83b803728b Improved adjective compilation 2021-05-07 19:11:39 +01:00
Graham Nelson f9ddd4916f Afterthought on SHOWMEINSTANCEDETAILS 2021-05-06 09:59:32 +01:00
Graham Nelson 755d2bd6f5 Completed second implementation of synoptic module 2021-05-05 12:24:08 +01:00
Graham Nelson 78e393dae0 Established second version of how to compile synoptic module 2021-05-04 11:04:04 +01:00
Graham Nelson 2fe6b34a5d Further progress on synoptic kinds 2021-05-03 09:50:36 +01:00
Graham Nelson 4f772043a7 Made table of verb forms synoptic 2021-05-02 11:01:12 +01:00
Graham Nelson dfca4dbc9c Made tables synoptically linked 2021-05-01 10:46:37 +01:00
Graham Nelson 669394f0a9 Made property count synoptic 2021-04-30 15:53:28 +01:00
Graham Nelson af6b0b1166 Moved actions metadata into synoptic linking 2021-04-29 12:32:12 +01:00
Graham Nelson cbb3fcb0bf Moved synoptic activities into codegen 2021-04-28 09:14:20 +01:00
Graham Nelson 551dc487cb Better fix for horizon issue in queue 2021-04-27 08:15:07 +01:00
Graham Nelson 03b09ac3f4 Queued rule and GPR compilation, fixing a timing problem 2021-04-26 23:31:08 +01:00
Graham Nelson 6b5c77b6eb But now working 2021-04-25 00:36:54 +01:00
Graham Nelson e29869ab7f Promising, yet not at all working, responses system 2021-04-24 23:35:10 +01:00
Graham Nelson d71f3bdf50 Simplified text substitutions 2021-04-23 00:32:20 +01:00
Graham Nelson 70b17e3237 Handled box quotations outside literal text system 2021-04-22 07:19:25 +01:00
Graham Nelson f40c55ba53 Improved list literals 2021-04-21 10:36:22 +01:00
Graham Nelson 22ef7b5e51 Clarified interventions 2021-04-20 10:34:54 +01:00
Graham Nelson f933e689f5 Modernised banner and fundamental constants 2021-04-19 09:17:32 +01:00
Graham Nelson 27e678d03d Clarified Hierarchy code 2021-04-18 22:42:39 +01:00
Graham Nelson 6942400204 Completed the code-emission API 2021-04-17 15:28:28 +01:00
Graham Nelson a8ecdcfab2 Abolished holding of Inter symbols 2021-04-16 09:31:46 +01:00
Graham Nelson 4c2640617a Improved constant emission 2021-04-15 22:42:28 +01:00
Graham Nelson aab471d0ab Began work on Emit 2021-04-14 22:57:48 +01:00
Graham Nelson 28a52ebadf Simplified use option compilation 2021-04-13 23:23:45 +01:00
Graham Nelson eec32b0f4b Reduced usage of compilation_unit to a minimum 2021-04-12 10:20:09 +01:00
Graham Nelson 2c0d5c6dda Added redundant operations optimisation 2021-04-11 12:29:07 +01:00
Graham Nelson ed6dd127b9 Clarified proposition deferral mechanism 2021-04-10 00:37:43 +01:00
Graham Nelson 5d4a8ec62e Tidied up atom and schema compilation 2021-04-09 00:04:34 +01:00
Graham Nelson b425741fef Removed one more compilation mode 2021-04-08 10:21:50 +01:00
Graham Nelson 8bb060c576 Removed 6 of the compilation modes 2021-04-07 00:34:07 +01:00
Graham Nelson 1f701dad6f Beginning on inline invocations 2021-04-06 00:19:15 +01:00
Graham Nelson a4dbc2d8f3 Minor tweaks to code block compilation 2021-04-05 00:56:48 +01:00
Graham Nelson c0a742410b Completed refactor of invocations 2021-04-04 13:46:08 +01:00
Graham Nelson 082ff4ee05 Improved closures 2021-04-03 14:32:59 +01:00
Graham Nelson a8191a9168 Improved stack frame handling 2021-04-02 00:47:20 +01:00
Graham Nelson d23fe29b05 Clarified stacked variables, a little 2021-03-31 23:28:26 +01:00
Graham Nelson ee39beb662 Cosmetic improvements 2021-03-30 10:50:04 +01:00
Graham Nelson 1ff736a2a0 Updated phrase options 2021-03-29 09:18:07 +01:00
Graham Nelson 6a69f25bef Began move of phrase code 2021-03-28 11:47:28 +01:00
Graham Nelson 6f6737f319 Tidied up rule family 2021-03-27 15:21:07 +00:00
Graham Nelson 217bd4e104 Merged the rules families 2021-03-26 09:58:50 +00:00
Graham Nelson fd34abd418 Refactored Definition: X is Y: subtrees 2021-03-25 08:46:41 +00:00
Graham Nelson 919fd9bc3e Tentative work on imperative nodes 2021-03-24 00:20:56 +00:00
Graham Nelson 9c0d8a0c63 Improved focus and outcomes 2021-03-23 00:08:57 +00:00
Graham Nelson 13458a5137 Finished on rulebooks for now 2021-03-22 10:38:19 +00:00
Graham Nelson 51d1afce08 Some progress on rulebooks amid fever 2021-03-21 21:56:46 +00:00
Graham Nelson 2800e4dd6d Started in on rules 2021-03-20 00:08:32 +00:00
Graham Nelson 3f73e2b1c6 Completed if module at last 2021-03-19 14:43:02 +00:00
Graham Nelson 52eebfcb9b Completed overhaul of CGLs 2021-03-18 13:38:20 +00:00
Graham Nelson f89a30378d Some tidying of CGLs 2021-03-17 00:18:19 +00:00
Graham Nelson d72b2de626 Completed refactor of CGs 2021-03-16 00:25:37 +00:00
Graham Nelson f28a210e0f Completed work on Understand... sentences 2021-03-15 00:09:17 +00:00
Graham Nelson 7bb00a274c Beginning work on command grammar 2021-03-14 13:42:15 +00:00
Graham Nelson 27da81f8f8 Much tidying up 2021-03-13 01:02:50 +00:00
Graham Nelson df10fd520e New AP parser mostly working now 2021-03-12 01:20:29 +00:00
Graham Nelson b00c787b90 Completed better ANL parser 2021-03-11 13:34:23 +00:00
Graham Nelson 9216b0bbbe Not sure this is getting anywhere 2021-03-10 22:45:43 +00:00
Graham Nelson 4f5368c426 Rejigged action name list 2021-03-09 09:19:08 +00:00
Graham Nelson bd6c45bca7 Descending the lip of the crater that is the action pattern parser 2021-03-07 21:37:59 +00:00
Graham Nelson fb31d57883 Further strides through the swampland of actions 2021-03-06 16:35:47 +00:00
Graham Nelson 6fa0f5381b Introduced explicit_action 2021-03-05 16:20:09 +00:00
Graham Nelson d8f428e863 Fully adopted action pattern clauses 2021-03-04 00:01:02 +00:00
Graham Nelson e7c64b407d Merged the two forms of APOC 2021-03-03 11:22:28 +00:00
Graham Nelson 88fb8901a2 Began tentative reorganisation of action_pattern 2021-03-02 00:04:52 +00:00
Graham Nelson 35658e125b Divided up Action Patterns section 2021-03-01 01:01:41 +00:00
Graham Nelson c1841fa031 Cautiously sidling around anl_link 2021-02-28 10:32:58 +00:00
Graham Nelson e50bfc5ceb Started in on actions plugin 2021-02-27 00:41:51 +00:00
Graham Nelson 310a7cd219 Minor testing changes for Windows 2021-02-26 09:03:21 +00:00
Graham Nelson 4730cc2f2d Miscellaneous work on spatial model 2021-02-25 00:15:09 +00:00
Graham Nelson b6b68a8f9d Make actions and parsing plugins more prominent 2021-02-24 00:17:14 +00:00
Graham Nelson 8531afdb4d Improved separation of plugins from main compiler 2021-02-23 00:25:10 +00:00
Graham Nelson f76c192a24 Began work on multimedia module 2021-02-21 00:03:29 +00:00