Commit Graph

104 Commits

Author SHA1 Message Date
Hugo Sales
b4a94461a7 Bug fixing and fixed using stored variables 2018-12-20 00:21:07 +00:00
Hugo Sales
b14aeb8893 Fixed small type .-. 2018-12-19 23:37:26 +00:00
Hugo Sales
d5d86bee62 Fixed small derp 2018-12-19 23:33:49 +00:00
Hugo Sales
e9a739b33e Bug fixes, support for floating point numbers 2018-12-19 23:27:12 +00:00
Hugo Sales
c057493d86 Bug fix and added support for scaling a polynomial 2018-12-19 21:04:17 +00:00
Hugo Sales
05fcfcbcb2 Big progress\n\nCan now properly use memory, mostly, simplify, parse literal numbers\nFixed some bugs 2018-12-19 19:11:54 +00:00
Diogo Cordeiro
8c2c66c6ba pushing things 2018-12-19 14:31:17 +00:00
Diogo Cordeiro
04199f670f Added some elementary missing functionalities and minor bug fixes
Added multiply, add, etc. to process_input
Memory is now properly working (store, forget and access storage)
Command concatenation is now properly working (as is sophisticated numbers [bug fix])
2018-12-18 03:02:53 +00:00
Diogo Cordeiro
b984b0efd4 Fix polynomial_tree_to_polynomial 2018-12-17 20:29:00 +00:00
Diogo Cordeiro
a6c2073209 Added simplify instruction
Refactored print_polynomial to print_polynomial_tree

nl instead of write(\n)
2018-12-17 20:19:41 +00:00
Hugo Sales
240b480aae WIP processing 2018-12-17 17:06:25 +00:00
Hugo Sales
10fb55086f Quick fix v2 2018-12-17 16:35:41 +00:00
Hugo Sales
9aeaebfded Quick fix 2018-12-17 16:34:02 +00:00
Hugo Sales
74d9e9cc5b Merge branch 'nlp-ph' into nlp 2018-12-17 16:31:10 +00:00
Hugo Sales
506cd53192 Merged other 2018-12-17 15:41:21 +00:00
Diogo Cordeiro
40da15ba54 I guess polyplay now works fine...
Fixed various bugs, refactored, reorganized, simplified logic
2018-12-17 15:39:11 +00:00
Hugo Sales
fc12b219c0 Merge branch 'nlp' of github.com:diogogithub/polynomialmani.pl into nlp 2018-12-17 14:41:14 +00:00
Diogo Cordeiro
c9a2eeca89 No need of that anymore 2018-12-17 04:23:00 +00:00
Diogo Cordeiro
0dfe64e740 Link everything properly and some small improvements 2018-12-17 04:22:12 +00:00
Hugo Sales
d7f3a9996b Expanded parser and fixed parsing numbers 2018-12-14 22:46:14 +00:00
Phablulo
047d6b9a4b basic language parsing 2018-12-13 19:42:03 -03:00
Diogo Cordeiro
deb3e27f2d Update assignment 2018-12-13 17:11:49 +00:00
Diogo Cordeiro
1c498108fc Fix previous merge issues 2018-12-13 17:09:25 +00:00
Diogo Cordeiro
aafef78100 Merged cenas com hugo 2018-12-10 17:37:34 +00:00
Hugo Sales
ea80d57ef9 More concise number parsing 2018-12-10 17:33:35 +00:00
Hugo Sales
040f3bd859 Simplified the way number parsing works 2018-12-10 01:13:58 +00:00
Hugo Sales
75cae0b25f Parsing integer numbers 2018-12-09 00:01:22 +00:00
Diogo Cordeiro
7fd64223fc dumb fake NLP stuff 2018-12-07 16:11:11 +00:00
HuGo Sales
07f341b5fa
Update algumas_observacoes_suplementares.md 2018-11-25 23:18:48 +00:00
Diogo Cordeiro
cfcbde6816 Algumas correções 2018-11-25 23:01:51 +00:00
Diogo Cordeiro
7bdee702d5
Algumas correções 2018-11-25 22:59:03 +00:00
Diogo Cordeiro
aadcc71ca4 algumas_notas_suplementares.md 2018-11-25 22:55:00 +00:00
Diogo Cordeiro
387ce1a3d0
Fix typo in predicate type 2018-11-25 22:31:46 +00:00
Diogo Cordeiro
73025dfc11
I'm still being picky... 2018-11-25 22:23:38 +00:00
Diogo Cordeiro
5d644a69c0
Am I being too picky? 2018-11-25 22:18:24 +00:00
Diogo Cordeiro
419aa3a46f
Improved term_to_list's docblock 2018-11-25 22:00:25 +00:00
Diogo Cordeiro
aba2db8bde
Fix typo 2018-11-25 21:22:21 +00:00
Hugo Sales
d2a59155f3 Cleaned up some documentation and tests 2018-11-25 19:28:46 +00:00
Hugo Sales
e75e67559e Merge branch 'master' of github.com:diogogithub/polynomialmani.pl 2018-11-25 18:38:19 +00:00
Hugo Sales
2136f91b67 Small UI cleanup 2018-11-25 18:38:09 +00:00
Diogo Cordeiro
01dbcfb035 Let scale polynomial support negatives 2018-11-25 17:50:49 +00:00
Hugo Sales
0f861a810b Fixed some tests 2018-11-25 17:01:38 +00:00
Hugo Sales
fe4c207b13 Merge branch 'master' of github.com:diogogithub/polynomialmani.pl 2018-11-25 16:59:14 +00:00
Hugo Sales
11f1931a02 Remove 0*x from answers where terms cancel out 2018-11-25 16:59:03 +00:00
Hugo Sales
962bab21ba Add better support for negative numbers 2018-11-25 16:47:43 +00:00
Diogo Cordeiro
1173d8175c Remove useless tests 2018-11-24 23:54:53 +00:00
Diogo Cordeiro
d298364d0f Implement is_polynomial_as_list_valid_in_predicate and refactored is_term_valid_in_predicate to is_polynomial_valid_in_predicate 2018-11-24 20:34:55 +00:00
Diogo Cordeiro
7a22fe136b Add COPYING 2018-11-24 16:40:07 +00:00
Diogo Cordeiro
1f016603d7
Add authors to README.md 2018-11-24 16:34:41 +00:00
Diogo Cordeiro
108e56550a
Arity :) 2018-11-24 16:26:48 +00:00