John J. Camilleri
|
1d0c4e7c39
|
Handle unmarshalling of large ints in Python bindings
|
2021-09-09 09:34:05 +02:00 |
|
John J. Camilleri
|
9739344ca6
|
Support (small, size = 1) negative integers
|
2021-09-08 17:25:10 +02:00 |
|
John J. Camilleri
|
3b1907cd8c
|
Add Expr and ExprLit types to Python bindings. Seem to work for readExpr.
|
2021-09-08 16:03:54 +02:00 |
|
John J. Camilleri
|
c9b7f8e5ee
|
Add exception object to parameters of updated function calls
|
2021-09-08 11:53:31 +02:00 |
|
John J. Camilleri
|
e6d8b76dbf
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
# Conflicts:
# src/runtime/python/pypgf.c
|
2021-09-06 23:52:30 +02:00 |
|
John J. Camilleri
|
5b96ede199
|
Work in progress with marshalling in Python bindings, trying to get Type_str to work without segfaulting
|
2021-09-06 23:49:53 +02:00 |
|
John J. Camilleri
|
b7cddf206b
|
First attempts at marshalling in Python bindings, not really sure what I'm doing
|
2021-09-06 15:32:18 +02:00 |
|
John J. Camilleri
|
d58c744361
|
Implement PGF_getStartCat in Python bindings
|
2021-09-06 14:15:28 +02:00 |
|
John J. Camilleri
|
a8efc61579
|
Working readType, functionType, unmarshaller for types (except exprs) in Python bindings
|
2021-09-06 14:06:57 +02:00 |
|
John J. Camilleri
|
d53b7587f5
|
Fill in literal cases in Python unmarshaller (untested)
|
2021-09-03 15:26:10 +02:00 |
|
John J. Camilleri
|
3ecb937753
|
Start work on marshalling in Python bindings
|
2021-09-03 14:14:47 +02:00 |
|
John J. Camilleri
|
8061a9e82a
|
Replace uses of PyUnicode_FromString with PyUnicode_FromStringAndSize
See https://github.com/GrammaticalFramework/gf-core/issues/130#issuecomment-908979886
|
2021-08-31 10:12:27 +02:00 |
|
John J. Camilleri
|
901c3f9086
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-08-31 10:07:55 +02:00 |
|
John J. Camilleri
|
32f6691024
|
Update error handling in Python bindings, using the new PGF_EXN_OTHER_ERROR
|
2021-08-31 10:07:42 +02:00 |
|
John J. Camilleri
|
02dc4e83c5
|
Remove commented-out error-handling code
See https://github.com/GrammaticalFramework/gf-core/issues/130#issuecomment-908937688
|
2021-08-31 09:16:16 +02:00 |
|
John J. Camilleri
|
aecaa422ec
|
Add getFunctionsByCat to Python bindings
|
2021-08-30 23:25:18 +02:00 |
|
John J. Camilleri
|
b7bd5a4561
|
Add getCategories and getFunctions to Python bindings, but don't know how to handle errors?
|
2021-08-30 22:26:22 +02:00 |
|
John J. Camilleri
|
50e54d131b
|
Add abstractName getter to Python bindings. Use line comments (//) to make navigating code easier.
|
2021-08-30 15:03:54 +02:00 |
|
John J. Camilleri
|
ff30169cbf
|
Update CI workflow with new Python test command
|
2021-08-30 13:46:34 +02:00 |
|
John J. Camilleri
|
3e4f2ba1a0
|
Use pytest for Python bindings test suite
|
2021-08-30 13:31:27 +02:00 |
|
John J. Camilleri
|
239fd02249
|
Add more test cases for read/boot failures, those which incorrectly fail are commented out
|
2021-08-30 13:22:49 +02:00 |
|
John J. Camilleri
|
ad4600b5c4
|
Add bootNGF and readNGF to Python bindings
|
2021-08-30 10:38:10 +02:00 |
|
John J. Camilleri
|
5c5e26cc8d
|
Test bootNGF and readNGF too, run tests on all three PGFs
|
2021-08-30 09:45:02 +02:00 |
|
John J. Camilleri
|
03f02ae5d2
|
A bunch of superficial changes to the docs after reading through them carefully again
|
2021-08-24 11:27:10 +02:00 |
|
John J. Camilleri
|
fdaf19a5d4
|
Bump version of Python bindings
|
2021-08-24 10:04:07 +02:00 |
|
John J. Camilleri
|
91adc09b1f
|
Define LD_LIBRARY_PATH when running Python tests
|
2021-08-24 09:09:30 +02:00 |
|
John J. Camilleri
|
beab2ad899
|
Update Python instructions, add simple testsuite (which fails with segmentation fault)
|
2021-08-24 09:05:16 +02:00 |
|
John J. Camilleri
|
4fd70bc445
|
Add basic installation instructions
|
2021-08-13 10:47:06 +02:00 |
|
John J. Camilleri
|
9e5823c350
|
Tweak base upper bound in pgf2.cabal
|
2021-08-13 10:28:44 +02:00 |
|
John J. Camilleri
|
2346abeedb
|
Tweaks to pgf2.cabal
|
2021-08-13 10:25:16 +02:00 |
|
John J. Camilleri
|
3e7926f22d
|
Update pgf2.cabal, including bumping version to 2.0.0
|
2021-08-13 10:20:49 +02:00 |
|
John J. Camilleri
|
f35dff7c66
|
Add LD_LIBRARY_PATH to cabal test step
|
2021-08-13 10:04:21 +02:00 |
|
John J. Camilleri
|
1749908f6c
|
Add --extra-lib-dirs to cabal command
|
2021-08-13 09:58:31 +02:00 |
|
John J. Camilleri
|
d8e1e2c37d
|
Add sudo to make install
|
2021-08-13 09:53:17 +02:00 |
|
John J. Camilleri
|
8877243701
|
Add tests to CI
|
2021-08-13 09:51:10 +02:00 |
|
John J. Camilleri
|
ddfc599db3
|
Add sudo to apt commands
|
2021-08-12 10:34:38 +02:00 |
|
John J. Camilleri
|
cb30e176bd
|
Add CI workflow for building runtime
|
2021-08-12 10:33:45 +02:00 |
|
John J. Camilleri
|
0474a37af6
|
Make Makefile compatible with stack and old/new cabal (with v1- prefix when necessary)
|
2021-07-25 08:23:25 +08:00 |
|
John J. Camilleri
|
bb51224e8e
|
IRC link pre-fills channel. Link to logs gives newest first.
|
2021-07-23 16:07:34 +02:00 |
|
John J. Camilleri
|
4df8999ed5
|
Change Python 3.8 to 3.9
|
2021-07-23 08:05:35 +02:00 |
|
John J. Camilleri
|
7fdbf3f400
|
Update path in main workflow for binaries
|
2021-07-22 23:11:01 +02:00 |
|
John J. Camilleri
|
0d6c67f6b1
|
Try without rewriting envvar
|
2021-07-22 23:02:22 +02:00 |
|
John J. Camilleri
|
2610219f6a
|
Update path
|
2021-07-22 22:56:39 +02:00 |
|
John J. Camilleri
|
7674f078d6
|
Try another path
|
2021-07-22 22:49:44 +02:00 |
|
John J. Camilleri
|
c67fe05c08
|
Narrow search, print env var
|
2021-07-22 22:44:53 +02:00 |
|
John J. Camilleri
|
7b9bb780a2
|
Find Java stuff
|
2021-07-22 22:34:26 +02:00 |
|
John J. Camilleri
|
4f256447e2
|
Add separate Windows binary CI action for easier testing
|
2021-07-22 22:27:15 +02:00 |
|
John J. Camilleri
|
a1fd3ea142
|
Fix bug introduced in cdbe73eb47
Apparently I don't understand how pattern-matching works in Haskell
|
2021-07-08 13:56:58 +02:00 |
|
John J. Camilleri
|
cdbe73eb47
|
Remove two missing-methods warnings
|
2021-07-08 12:10:41 +02:00 |
|
John J. Camilleri
|
0954b4cbab
|
More cabal file cleanup. Remove some more tabs from Haskell source.
|
2021-07-07 13:04:09 +02:00 |
|
John J. Camilleri
|
f2e52d6f2c
|
Replace tabs for whitespace in source code
|
2021-07-07 09:40:41 +02:00 |
|
John J. Camilleri
|
a2b23d5897
|
Make whitespace uniform in Cabal files, add a few more dependency bounds
|
2021-07-07 09:11:46 +02:00 |
|
John J. Camilleri
|
0886eb520d
|
Update 3.11 release notes
|
2021-07-06 15:45:21 +02:00 |
|
John J. Camilleri
|
ef42216415
|
Add import from command line invocation to command history
Closes #64
|
2021-07-06 15:35:03 +02:00 |
|
John J. Camilleri
|
0c3ca3d79a
|
Add note in PGF2 documentation about risk for integer overflow.
Closes #109
|
2021-07-06 14:43:21 +02:00 |
|
John J. Camilleri
|
84b4b6fab9
|
Some more cabal file cleanup. Add stack files for pgf, pgf2.
|
2021-07-06 14:11:30 +02:00 |
|
John J. Camilleri
|
dff1193f7b
|
Add --haskell=pgf2 flag
|
2021-07-06 14:59:53 +08:00 |
|
John J. Camilleri
|
b090e9b0ff
|
Add --haskell=pgf2 flag
|
2021-07-01 15:31:00 +02:00 |
|
John J. Camilleri
|
5d7c687cb7
|
Make imports in CheckGrammar a little more explicit
|
2021-07-01 14:32:39 +02:00 |
|
John J. Camilleri
|
376b1234a2
|
Rename GF.Compile.TypeCheck.RConcrete to GF.Compile.TypeCheck.Concrete
|
2021-07-01 14:27:11 +02:00 |
|
John J. Camilleri
|
71d99b9ecb
|
Rename GF.Compile.Compute.ConcreteNew to GF.Compile.Compute.Concrete
|
2021-07-01 14:21:29 +02:00 |
|
John J. Camilleri
|
a27b07542d
|
Add run-on-grammar canonical test script
|
2021-07-01 14:05:30 +02:00 |
|
John J. Camilleri
|
78b73fba20
|
Make cleanupRecordFields also recurse into variants
It's possible that more constructors need to be handled
|
2021-07-01 13:53:33 +02:00 |
|
John J. Camilleri
|
e5a2aed5b6
|
Remove record fields not in lincat
Fixes #100, #101
|
2021-07-01 11:47:14 +02:00 |
|
John J. Camilleri
|
13575b093f
|
Add top-level signatures and general code cleanup
|
2021-07-01 10:13:42 +02:00 |
|
John J. Camilleri
|
32be75ca7d
|
Reduce Phrasebook grammars in testsuite/canonical to bare minimum
|
2021-07-01 09:22:57 +02:00 |
|
John J. Camilleri
|
587004f985
|
Sort record fields in lin definitions
Fixes #102
|
2021-06-30 14:14:54 +02:00 |
|
John J. Camilleri
|
4436cb101e
|
Move testsuite/compiler/canonical on level up, update test script
|
2021-06-30 13:47:15 +02:00 |
|
John J. Camilleri
|
0f5be0bbaa
|
Add shell script in testsuite/compiler/canonical for replicating known issues
Ideally this is integrated into proper test suite, but that's too much overhead for now
|
2021-06-30 12:41:56 +02:00 |
|
John J. Camilleri
|
d5c6aec3ec
|
Superficial refactoring to testsuite module
|
2021-06-30 12:12:26 +02:00 |
|
John J. Camilleri
|
0a70eca6e2
|
Make GF.Grammar.Canonical.Id a type synonym for GF.Infra.Ident.RawIdent
This avoids a lot of conversion back and forth between Strings and ByteStrings
This commit was cherry-picked from d0c27cdaae (lpgf branch)
|
2021-06-30 10:58:23 +02:00 |
|
John J. Camilleri
|
3a27fa0d39
|
Add another =
|
2021-06-24 09:34:27 +02:00 |
|
John J. Camilleri
|
1ba5449d21
|
Update pgf.cabal, and minors to other cabal files
|
2021-06-24 09:31:37 +02:00 |
|
John J. Camilleri
|
5564a2f244
|
Make stack.yaml a regular file again
|
2021-06-22 13:35:46 +02:00 |
|
John J. Camilleri
|
cf2eff3801
|
Merge branch 'master' into stack-yaml-symlink
|
2021-06-22 13:32:17 +02:00 |
|
John J. Camilleri
|
84fd431afd
|
Manage to get completion working in PGF2
|
2021-05-03 22:28:48 +02:00 |
|
John J. Camilleri
|
588cd6ddb1
|
Improvement to test script, distinguishes when input ends with whitespace
|
2021-05-03 20:51:24 +02:00 |
|
John J. Camilleri
|
437bd8e7f9
|
Add proper error handling in complete
|
2021-05-03 20:36:31 +02:00 |
|
John J. Camilleri
|
e56d1b2959
|
Second attempt. Reading enum is closer to working but all strings are empty.
|
2021-05-03 14:25:35 +02:00 |
|
John J. Camilleri
|
450368f9bb
|
First attempt at adding support for complete in PGF2 (gives segmentation faults)
|
2021-05-03 13:19:08 +02:00 |
|
John J. Camilleri
|
07fd41294a
|
Comment out c-runtime flag by default
|
2021-05-03 10:33:36 +02:00 |
|
John J. Camilleri
|
4729d22c36
|
Make stack.yaml an actual symlink to stack-ghc8.6.5.yaml. Add some commented flags in stack files.
|
2021-05-03 10:24:26 +02:00 |
|
John J. Camilleri
|
60bc752a6f
|
Add note about type-checking dynamic expressions in PGF2 Haddock
Closes #72
|
2021-04-30 14:59:20 +02:00 |
|
John J. Camilleri
|
91278e2b4b
|
Remove notice about example grammars not being included anymore from build scripts
|
2021-04-30 13:39:15 +02:00 |
|
John J. Camilleri
|
9b4f2dd18b
|
Remove notice about RGL not being included anymore from build scripts
|
2021-03-08 13:48:30 +01:00 |
|
John J. Camilleri
|
2b6b315bd7
|
Add note to changelog that #87 is still pending
|
2020-12-07 10:35:11 +01:00 |
|
John J. Camilleri
|
7f6bfa730b
|
Update changelog for 3.11 by going through all commit messages since GF-3.10
|
2020-12-07 10:31:19 +01:00 |
|
John J. Camilleri
|
d6be4ec3b0
|
Add note about why we're not using Setup Haskell action for Ubuntu build.
|
2020-11-30 23:05:43 +01:00 |
|
John J. Camilleri
|
68ec61f44d
|
Remove build status badge from README
The GitHub interface now provides much richer information about build status.
|
2020-11-30 22:03:23 +01:00 |
|
John J. Camilleri
|
a7a6eb5581
|
Update release instructions
|
2020-11-30 21:34:50 +01:00 |
|
John J. Camilleri
|
4223935b12
|
Combine binary workflows into one with multiple jobs
|
2020-11-30 20:57:20 +01:00 |
|
John J. Camilleri
|
8dc1ed83b6
|
Update RELEASE.md
|
2020-11-30 13:01:51 +01:00 |
|
John J. Camilleri
|
8f3a7a3b6a
|
Copy things into subfolders
|
2020-11-27 00:51:38 +01:00 |
|
John J. Camilleri
|
921a8981fb
|
Install python-devel in msys2
|
2020-11-27 00:11:54 +01:00 |
|
John J. Camilleri
|
169f2c786d
|
Install pip in msys2
|
2020-11-27 00:00:44 +01:00 |
|
John J. Camilleri
|
629a574dfa
|
Considerable updates to 3.11 download page
|
2020-11-26 23:57:09 +01:00 |
|
John J. Camilleri
|
6b7e9c8c7a
|
Inherit path with Python compilation too
|
2020-11-26 23:40:08 +01:00 |
|
John J. Camilleri
|
78f42774da
|
Inherit path when running pip
|
2020-11-26 23:30:47 +01:00 |
|
John J. Camilleri
|
54c0949354
|
Change echo path command in powershell
|
2020-11-26 23:16:15 +01:00 |
|
John J. Camilleri
|
0632824b99
|
Need to add pip to msys2 path
|
2020-11-26 23:02:16 +01:00 |
|