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

341 commits

Author SHA1 Message Date
Graham Nelson 913ae66789 Scanning directories in alphabetical order 2022-04-19 22:05:06 +01:00
Graham Nelson a1aa7642e9 Documented and rounded out some debugging features 2022-04-18 15:46:46 +01:00
Philip Chimento 51d7e99895 Fix case-sensitive filename errors
These filenames worked fine on case-insensitive file systems, but not on
a case-sensitive file system.
2022-04-14 22:41:12 -07:00
Philip Chimento c029af34ae Initialize kinds array
GCC warns that ka[1] is possibly being used without being initialized. As
far as I can tell from reading the loop, a1 > 0 here, and the elements of
ka are initialized up to a1-1, and ka[1] is never accessed if a1 == 1.

Nonetheless, rather than rewriting the loop so GCC can understand what's
going on, maybe it's better just to put an initializer here.
2022-04-14 22:10:00 -07:00
Philip Chimento 881ac66540 Add fall-through comments
GCC warns about switch statement fall-throughs unless they are annotated
with a /* fall through */ comment. Add one of these.

As for the other comment, GCC also has a slightly less strict mode that
understands the comment as long as it has the words "fall through"
somewhere in it. If we slightly tweak the wording of this comment, we can
use that mode to avoid the warning.
2022-04-14 22:10:00 -07:00
Graham Nelson 8d8db04e84 Compensating for change of random function in C 2022-04-15 00:19:18 +01:00
Graham Nelson a2bc2c4767 Miscellaneous catching up 2022-04-14 23:14:14 +01:00
Graham Nelson 6075e58575 Fix for Mantis bug 1821 2022-04-14 12:02:34 +01:00
Graham Nelson 15976401ec Minor debugging log changes to avoid compiler warnings 2022-04-13 23:43:02 +01:00
Graham Nelson 2e55bfa0b0 Probably fix for word assemblage annotation crash 2022-04-13 22:32:57 +01:00
Graham Nelson cdb2b8a809 Fix for Mantis bug 1846 2022-04-13 22:09:08 +01:00
Graham Nelson 4e3d771b8f Fix and test case for Mantis bug 1897 2022-04-12 19:24:10 +01:00
Graham Nelson ce8014cfc5 Fix for Mantis bug 1904 2022-04-12 12:32:28 +01:00
Graham Nelson 2a998ded3e Fix for Mantis bug 1987 2022-04-10 12:34:19 +01:00
Graham Nelson 0dc42eb46f Fix for Mantis bug 2032 2022-04-09 15:07:55 +01:00
Graham Nelson 7ee6162839 Type change needed for Windows 2022-04-08 17:51:28 +01:00
Graham Nelson 45b53fca22 Fix for Mantis bug 2087 2022-04-07 10:43:01 +01:00
Graham Nelson c143db1985 Fix for Mantis bug 2086 2022-04-06 21:34:48 +01:00
Graham Nelson 6eedda53e6 Fixed bug in releasing small cover image for projects with default cover art 2022-04-06 11:14:15 +01:00
Graham Nelson 994d29968c Better incremental kit-building 2022-04-05 12:14:27 +01:00
Graham Nelson cba72a3537 Improved source website 2022-04-04 18:31:44 +01:00
Graham Nelson c876a87d40 Improved command-line interface for inter 2022-03-24 23:35:22 +00:00
Graham Nelson fdbb235a63 Shaved about 5cs off 2022-03-24 10:53:32 +00:00
Graham Nelson 47955eefee Began on the inter schema compiler 2022-01-16 23:17:41 +00:00
Graham Nelson ff06397486 Rearranged names of some linking tasks 2021-11-22 23:40:18 +00:00
Graham Nelson 77b894001d Improved pipeline error messages 2021-11-15 22:44:29 +00:00
Graham Nelson b0069b92ce Finally made door_to property not a special case 2021-10-18 05:31:07 +01:00
Graham Nelson 7c5e367822 Painfully slow progress 2021-10-01 11:21:09 +01:00
Graham Nelson f92d8c50ac Small reform of variable packages in Inter 2021-09-19 12:47:18 +01:00
Graham Nelson 4a3dd923b2 Removed spurious newline in Basic Inform projects to C 2021-09-14 09:14:25 +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 720fd496a3 Removed #identifiers_table from Inter 2021-09-01 16:32:23 +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 8d3be62bff Brought testing up to date 2021-07-30 23:11:04 +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 97678a04b9 Added gloss 2021-07-26 00:38:28 +01:00
Graham Nelson d6cb4311a9 Moved localisation code to html module 2021-07-26 00:34:51 +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 2445e3d16b Tested out the localisation dictionary-reader 2021-07-01 00:33:52 +01:00
Graham Nelson 8d093af5de Migrated A1 element 2021-06-20 23:29:49 +01:00
Graham Nelson d83999ab6b Tidying up 2021-06-16 22:34:33 +01:00
Graham Nelson 6839e071ed And further with Ch 2021-06-14 00:18:41 +01:00
Graham Nelson 4ae1f836fd Began migrating Ch 2021-06-13 22:29:31 +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 c1c249b1e9 Partially migrated Vl element 2021-06-06 12:01:16 +01:00
Graham Nelson f2e9f5b8b9 And further rearrangement 2021-06-02 23:10:13 +01:00
Graham Nelson 409411440a Began a migration of indexing to codegen 2021-05-31 17:45:44 +01:00
Graham Nelson 27787a3473 Divided up and simplified kind compilation 2021-05-15 23:31:42 +01:00
Graham Nelson 345fbc10e8 Continued refactoring of kinds 2021-05-14 23:28:50 +01:00
Graham Nelson d60b131e50 Began work on refactoring kind constructors 2021-05-14 14:12:46 +01:00
Graham Nelson c703a94d0a Started in on runtime relations 2021-05-12 10:47:14 +01:00
Graham Nelson 28e094a3a5 Reorganised runtime module somewhat 2021-05-08 16:22:30 +01:00
Graham Nelson 4a3e6d0cf7 More systematic synoptic generation 2021-05-08 13:11:12 +01:00
Graham Nelson 37cb0828bf Tidied activity compilation 2021-05-06 23:25:30 +01:00
Graham Nelson 755d2bd6f5 Completed second implementation of synoptic module 2021-05-05 12:24:08 +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 af6b0b1166 Moved actions metadata into synoptic linking 2021-04-29 12:32:12 +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 f40c55ba53 Improved list literals 2021-04-21 10:36:22 +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 a053adebfc More on emission 2021-04-16 21:50:46 +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 2c0d5c6dda Added redundant operations optimisation 2021-04-11 12:29:07 +01:00
Graham Nelson 650a49c79e Optimised number of K and list of K 2021-04-10 14:34:26 +01:00
Graham Nelson c471ee140e Started in on compiling propositions 2021-04-09 10:09:44 +01:00
Graham Nelson 5d4a8ec62e Tidied up atom and schema compilation 2021-04-09 00:04:34 +01:00
Graham Nelson c35ce73b8c Largely abolished compilation modes altogether 2021-04-08 15:06:01 +01:00
Graham Nelson dfe3a4aaee Removed 2 more compilation modes 2021-04-07 23:58:07 +01:00
Graham Nelson 8bb060c576 Removed 6 of the compilation modes 2021-04-07 00:34:07 +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 467ae1892c Reorganised local variables 2021-04-02 17:33:37 +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 7b2df20585 Improved type data 2021-03-28 23:42:22 +01:00
Graham Nelson b21a194644 Further work on To... phrases 2021-03-27 19:52:35 +00: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 1f14f0b155 Imperative definition families 2021-03-25 23:20:37 +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 51d1afce08 Some progress on rulebooks amid fever 2021-03-21 21:56:46 +00:00
Graham Nelson 7bb00a274c Beginning work on command grammar 2021-03-14 13:42:15 +00:00
Graham Nelson a06bd0020b Completed work on the actions plugin 2021-03-13 13:00:21 +00:00
Graham Nelson 27da81f8f8 Much tidying up 2021-03-13 01:02:50 +00:00
Graham Nelson f102bc7e3f Removed now-dead code 2021-03-12 12:31:40 +00:00
Graham Nelson d95addef94 New AP parser finally passes test suite 2021-03-12 10:55:57 +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 4e18934951 Tentative experiments 2021-03-09 22:39:59 +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 e87d88592a Improved AP test case 2021-03-06 23:50:38 +00:00
Graham Nelson fb31d57883 Further strides through the swampland of actions 2021-03-06 16:35:47 +00:00
Graham Nelson 23cb64fdd2 Further work on plugin calls for actions 2021-03-05 23:36:25 +00:00
Graham Nelson d8c60bbccc Further isolated going 2021-03-04 16:40:14 +00:00
Graham Nelson e50bfc5ceb Started in on actions plugin 2021-02-27 00:41:51 +00:00
Graham Nelson 6b8726060d Isolated actions and parsing node annotations 2021-02-24 10:10:34 +00:00
Graham Nelson b6b68a8f9d Make actions and parsing plugins more prominent 2021-02-24 00:17:14 +00:00
Graham Nelson caa5069ed5 Began revamp of plugins 2021-02-19 23:20:09 +00:00
Graham Nelson c3260f05ed Completed revision of the knowledge module 2021-02-19 00:21:55 +00:00
Graham Nelson 3c680789e5 Began refactoring properties 2021-02-17 23:32:04 +00:00
Graham Nelson cc8d396040 Reorganised variables 2021-02-15 12:10:54 +00:00
Graham Nelson 2fcffb7cad Completed refactor of adjectives code 2021-02-14 22:22:27 +00:00
Graham Nelson 1097aed293 Further refactoring of adjectives 2021-02-13 23:26:01 +00:00
Graham Nelson 94485a2f75 Introduced adjective meaning families 2021-02-13 16:30:19 +00:00
Graham Nelson dd39e6bd8e Reconciled s- and i-parser forms of instance nonterminals 2021-02-13 13:48:24 +00:00
Graham Nelson 3856fb9d2f Simplified instance grammar 2021-02-13 13:18:26 +00:00
Graham Nelson 36eb03f9dd Simplified instances 2021-02-12 23:46:18 +00:00
Graham Nelson b2a5a56317 Finished reorganising subjects 2021-02-12 13:33:19 +00:00
Graham Nelson fab4ab3c78 Refactored inference subjects into families with methods 2021-02-11 22:53:43 +00:00
Graham Nelson 7b46dc3de7 Completed work on values module 2021-02-06 23:47:07 +00:00
Graham Nelson b4a6775fa6 Reorganised the values module 2021-02-06 18:00:34 +00:00
Graham Nelson b8fcf9638e Began work on values 2021-02-05 15:15:38 +00:00
Graham Nelson 7f4507efe5 Completed work on calculus module 2021-02-04 16:35:45 +00:00
Graham Nelson 65f41dbca4 Completed simplifications 2021-02-04 09:24:35 +00:00
Graham Nelson 4994386ea4 Improved discussion of simplifications 2021-02-03 22:45:53 +00:00
Graham Nelson 41efae7f29 Clarified sentence conversions 2021-02-03 09:32:42 +00:00
Graham Nelson 5eb8b9b8ab Tidied up I6 schemas 2021-02-02 19:34:56 +00:00
Graham Nelson e0a25411c8 Completed refactor of binary predicates 2021-02-02 13:55:27 +00:00
Graham Nelson edadedbd82 Divided off more of run-time implementation 2021-02-01 23:24:17 +00:00
Graham Nelson fb20b90d54 Further relation refactoring 2021-01-31 23:44:57 +00:00
Graham Nelson ccf70137ca Further tidying of bp structure 2021-01-31 16:19:25 +00:00
Graham Nelson e99a939ef6 Refactor of property-setting predicates 2021-01-31 15:49:52 +00:00
Graham Nelson b989cd1d80 Catching back up 2021-01-31 14:57:05 +00:00
Graham Nelson 180d254ca7 Tidying up calculus module 2020-09-02 23:24:10 +01:00
Graham Nelson 515b130748 Pared calculus module down to essential predicates only 2020-08-29 09:33:21 +01:00
Graham Nelson 52f909c730 Seemingly endless annotation 2020-08-28 11:16:29 +01:00
Graham Nelson 8e8565c0db Further work on annotation logging 2020-08-28 01:00:52 +01:00
Graham Nelson b0c0bf87ea Further post-fragmentation tidying 2020-08-27 15:50:24 +01:00
Graham Nelson c4ae8922c2 Further reorganisation 2020-08-26 23:12:58 +01:00
Graham Nelson dfcc5ee277 Completed fragmentation 2020-08-26 10:52:50 +01:00
Graham Nelson 22d2c3d8bd Moved sentence conversion into calculus module 2020-08-25 21:47:14 +01:00
Graham Nelson a82ab3870f Moved deductions into calculus module 2020-08-24 23:11:39 +01:00
Graham Nelson b789334e76 Added typechecking to calculus module 2020-08-24 19:30:28 +01:00