Commit graph

24 commits

Author SHA1 Message Date
Eddie Antonio Santos
85e5e27bdc
compileModel() loads word lists relative to model.ts file. 2019-08-22 10:30:00 -06:00
Eddie Antonio Santos
d58087dc95
Create and test compileModel() utility function. 2019-08-22 09:56:13 -06:00
Eddie Antonio Santos
8b4bb6dec5
Make fixture path relative to model.ts. 2019-08-22 09:44:54 -06:00
Eddie Antonio Santos
3d4ae1fd8f
Merge branch 'beta' into developer-compiler-cli 2019-08-22 09:12:04 -06:00
Eddie Antonio Santos
f826e02b24
Compile code with a dummy LMLayerWorker and models namespace; enhance assertions. 2019-08-21 14:51:00 -06:00
Eddie Antonio Santos
ea0efe48bd
Create test helper to find fixtures. 2019-08-21 11:27:59 -06:00
Eddie Antonio Santos
1815ad7a18
Fix paths issue from merge. 2019-08-21 11:08:29 -06:00
Eddie Antonio Santos
1e4fdeb309
Fix paths issue from merge. 2019-08-20 09:49:37 -06:00
Eddie Antonio Santos
e9b2027520
Place command line in the path. 2019-08-20 09:43:31 -06:00
Eddie Antonio Santos
d34648495a
Handle case when BOM appears before a comment or empty line! 2019-08-09 13:10:16 -06:00
Eddie Antonio Santos
3e88b9114a
[Developer] Update documentation on UTF-8 BOM handling; write test. 2019-08-09 12:56:59 -06:00
Eddie Antonio Santos
31650eba49
Allow for optional punctuation to be passed into options. 2019-07-29 15:55:17 -06:00
Eddie Antonio Santos
87089a197d
Implement alternate open/close quote. 2019-07-25 15:11:40 -06:00
Eddie Antonio Santos
795b862ce6
Add punctuation to trie model source code. 2019-07-25 12:38:24 -06:00
Eddie Antonio Santos
3d2d94e93e
Write interface for specifying punctuation. 2019-07-25 11:36:02 -06:00
Eddie Antonio Santos
9589778597
Test that the compiler adds the punctuation. 2019-07-25 11:26:39 -06:00
Eddie Antonio Santos
2e5855090a
Fix tsconfig... 2019-07-25 11:22:07 -06:00
Eddie Antonio Santos
c80a44e9c5
Remove forgotten console.log(). 2019-07-13 11:07:31 -06:00
Eddie Antonio Santos
c6fbdfa153
Remove Object.values() in favour of Object.keys(). 2019-07-13 11:04:55 -06:00
Eddie Antonio Santos
ae224172e2
Add minimal README. 2019-07-04 09:47:04 -06:00
Eddie Antonio Santos
41b23f1889
Remove example test. 2019-07-04 09:44:34 -06:00
Eddie Antonio Santos
f7a14943a9
Add a simple assertion for testing the trie compiler. 2019-07-04 09:42:53 -06:00
Eddie Antonio Santos
b2c24e08bd
Enable testing with Chai's assert. 2019-07-04 09:16:57 -06:00
Eddie Antonio Santos
4ae5ae9b86
Add mocha-chai for TypeScript. 2019-07-04 09:13:42 -06:00