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

533 commits

Author SHA1 Message Date
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
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 5df3bb5503 Began localisation of index 2021-06-28 23:33:14 +01:00
Graham Nelson c0985d2afe Tidying 2021-06-27 16:10:51 +01:00
Graham Nelson 1c2aa1ff74 Finally moved index module to inter 2021-06-27 16:04:28 +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 c0b79c7310 Began using instance package 2021-06-23 23:44:22 +01:00
Graham Nelson e1417bfd67 Began accessing instance packages 2021-06-23 10:57:01 +01:00
Graham Nelson 9209026930 Migrated mapping to codegen 2021-06-23 00:23:35 +01:00
Graham Nelson 9a8db049b9 Began huge refactor of World index 2021-06-21 23:37:27 +01:00
Graham Nelson 32a3a4dd73 Added test cases for spatial layout in mapping 2021-06-21 11:27:02 +01:00
Graham Nelson 627b2dcdbb Removed redundant code from the former indexer 2021-06-21 00:36:17 +01:00
Graham Nelson 8d093af5de Migrated A1 element 2021-06-20 23:29:49 +01:00
Graham Nelson ab867b1a08 Migrated A2 2021-06-20 13:59:38 +01:00
Graham Nelson ded2695dc4 Migrated Cm element 2021-06-20 12:16:28 +01:00
Graham Nelson cbbf6f80b6 Towards Cm 2021-06-19 23:15:38 +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 d83999ab6b Tidying up 2021-06-16 22:34:33 +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 2d2782c6a0 Inching further towards Ch 2021-06-14 23:29:45 +01:00
Graham Nelson 6157cf94f8 Infinitesimal progress towards Ch 2021-06-14 09:00:18 +01:00
Graham Nelson 6839e071ed And further with Ch 2021-06-14 00:18:41 +01:00
Graham Nelson fea789c1ba Further work on Ch 2021-06-13 23:07:40 +01:00
Graham Nelson 4ae1f836fd Began migrating Ch 2021-06-13 22:29:31 +01:00
Graham Nelson 94353d93bf Migrated Pl element 2021-06-13 18:04:57 +01:00
Graham Nelson 38cd2bff3c Migrated Ar element 2021-06-12 16:30:21 +01:00
Graham Nelson 8b89583fe0 Migrated Lx element 2021-06-12 13:08:47 +01:00
Graham Nelson 5bf347737d Migrated Gz element 2021-06-12 10:42:20 +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 edd07a3a55 Migrated In element 2021-06-09 22:20:23 +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 e3219db83a Migrated C and Vl elements 2021-06-06 22:18:08 +01:00
Graham Nelson c1c249b1e9 Partially migrated Vl element 2021-06-06 12:01:16 +01:00
Graham Nelson 96d7c0ab2d Migrated Tb element 2021-06-05 18:28:55 +01:00
Graham Nelson 3ce17f22a4 Migrated Fi element 2021-06-05 13:36:47 +01:00
Graham Nelson 32dc947b8e Migrated Ev element 2021-06-05 10:47:52 +01:00
Graham Nelson 1250544a46 Migrated Bh and Rl 2021-06-03 23:03:51 +01:00
Graham Nelson f2e9f5b8b9 And further rearrangement 2021-06-02 23:10:13 +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 ad422e1303 Made test scripts synoptic 2021-05-22 09:49:04 +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 4f35032e81 Finished reorganising relations for now 2021-05-12 21:59:43 +01:00
Graham Nelson dec03b1ad8 Improved property compilation 2021-05-11 09:19:15 +01:00
Graham Nelson 018ddb13dc Improved local tables 2021-05-08 22:44:59 +01:00
Graham Nelson 4a3e6d0cf7 More systematic synoptic generation 2021-05-08 13:11:12 +01:00
Graham Nelson 3322cbb0ee Improved local chronology 2021-05-07 23:28:23 +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 8060a44887 Module identities more clearly emerging 2021-05-03 23:49:40 +01:00
Graham Nelson b5ca567881 Made kinds synoptic 2021-05-03 14:39:21 +01:00
Graham Nelson 2fe6b34a5d Further progress on synoptic kinds 2021-05-03 09:50:36 +01:00
Graham Nelson ffb2ac0eb9 Began work on synoptic kinds 2021-05-02 19:34:02 +01:00
Graham Nelson 4f772043a7 Made table of verb forms synoptic 2021-05-02 11:01:12 +01:00
Graham Nelson 98e87d9ba5 Added synoptic/multimedia submodule 2021-05-01 23:16:45 +01:00
Graham Nelson 741209e225 Scene status and changing made synoptic 2021-05-01 18:18:59 +01:00
Graham Nelson 81229aadec Synoptic chronology 2021-05-01 15:00:44 +01:00
Graham Nelson f1a60fa53e Made relations synoptically linked 2021-05-01 11:56:10 +01:00
Graham Nelson dfca4dbc9c Made tables synoptically linked 2021-05-01 10:46:37 +01:00
Graham Nelson 073c4b2627 Made extension metadata synoptic 2021-04-30 18:48:22 +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 c6e49803df Moved RulePrintingRule to codegen 2021-04-27 23:41:05 +01:00
Graham Nelson 8ab3d3c4e6 Synoptic rulebook renumbering 2021-04-27 14:01:34 +01:00
Graham Nelson 03b09ac3f4 Queued rule and GPR compilation, fixing a timing problem 2021-04-26 23:31:08 +01:00
Graham Nelson 9709492f1d Reorganised synoptic creation and removed metadata construct from Inter 2021-04-25 13:23:45 +01:00
Graham Nelson 82b2f7bf48 Removed response construct from Inter 2021-04-25 08:03:14 +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 3576d08edc Experiment with synoptic resources 2021-04-23 23:30:09 +01:00
Graham Nelson d71f3bdf50 Simplified text substitutions 2021-04-23 00:32:20 +01:00
Graham Nelson 62687e54db Moved alphabetical sorting of packed text to link stage 2021-04-22 18:47:42 +01:00
Graham Nelson 8c2ebbffd3 Began on enclosures 2021-04-20 23:43:29 +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 a053adebfc More on emission 2021-04-16 21:50:46 +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 3f99d77c58 Organising stage 4 2021-04-12 22:32:27 +01:00
Graham Nelson eec32b0f4b Reduced usage of compilation_unit to a minimum 2021-04-12 10:20:09 +01:00
Graham Nelson 4f9045361b Made jump label storage local in Inter hierarchy 2021-04-11 16:42:37 +01:00
Graham Nelson 2c0d5c6dda Added redundant operations optimisation 2021-04-11 12:29:07 +01:00
Graham Nelson 5d4a8ec62e Tidied up atom and schema compilation 2021-04-09 00:04:34 +01:00
Graham Nelson dfe3a4aaee Removed 2 more compilation modes 2021-04-07 23:58:07 +01:00
Graham Nelson 14bbcda3ea Removed a further compilation mode 2021-04-07 13:31:43 +01:00
Graham Nelson 8bb060c576 Removed 6 of the compilation modes 2021-04-07 00:34:07 +01:00
Graham Nelson 80e36dc532 Completed invocations 2021-04-06 14:56:15 +01:00
Graham Nelson 1f701dad6f Beginning on inline invocations 2021-04-06 00:19:15 +01:00
Graham Nelson 467ae1892c Reorganised local variables 2021-04-02 17:33:37 +01:00
Graham Nelson ced6faec09 To pass Dismal test on Windows 2021-03-01 10:05:56 +00:00
Graham Nelson 310a7cd219 Minor testing changes for Windows 2021-02-26 09:03:21 +00:00
Graham Nelson bf8d571e9b Better plugin handling of compilation sequence 2021-02-23 11:10:22 +00:00
Graham Nelson 8531afdb4d Improved separation of plugins from main compiler 2021-02-23 00:25:10 +00:00
Graham Nelson caa5069ed5 Began revamp of plugins 2021-02-19 23:20:09 +00:00
Graham Nelson b2a5a56317 Finished reorganising subjects 2021-02-12 13:33:19 +00:00
Graham Nelson b4a6775fa6 Reorganised the values module 2021-02-06 18:00:34 +00:00
Graham Nelson 5eb8b9b8ab Tidied up I6 schemas 2021-02-02 19:34:56 +00:00
Graham Nelson 83dcd79164 Improved kind-checking of contravariant constructors 2020-08-11 11:55:39 +01:00
Graham Nelson dd0605493a Moved kinds module to services library and added test utility 2020-08-08 17:40:02 +01:00
Graham Nelson 17381751e8 Further resequencing of early compilation 2020-08-01 11:35:56 +01:00
David Kinder fe29f0d232 Make inter tests of invalid input platform-independent 2020-07-26 22:40:53 +01:00
Graham Nelson 2b5772281a Further wchar_t puritanism 2020-07-13 21:37:54 +01:00
Graham Nelson 85b8606949 Further work on wchar_t portability 2020-07-08 15:57:07 +01:00