Felix Raimundo
4e9c33de2d
Put the keys on the simulator.
...
NOTE: I messed up a merge so this si a bad commit.
Change-Id: I80c9bc3f9dd8b1d24069eb0cc87ce7fe15368071
2016-03-22 18:39:59 +01:00
Félix Raimundo
5c82826a34
Merge "Small hack to get keys on the simulator."
2016-03-22 18:02:27 +01:00
Felix Raimundo
3cf9f3ebcb
Small hack to get keys on the simulator.
...
NOTE: this is really hacky and should be improved as soon as possible,
but working zithout it is just to big a pain.
Change-Id: I01e322fa5f653f04e9fdf6b16b4b9fe023a4fe93
2016-03-21 18:30:01 +01:00
Romain Goyet
737d878c1e
Build on Bison 3.0.4.
...
This will be the reference version from now on. Note that the error was
about a missing declaration of yyscan_t, which we really don't need to
care about, and that we can simply replace by "void *".
Change-Id: I2294a8cc8bcb4a426019a5ebc6cf83b28d4bae1a
2016-03-20 19:16:06 +01:00
Romain Goyet
8e067f3f52
Fix a typo in the Bison grammar
...
Change-Id: I854b6adefca4518108a4678557c4d7f91bdaea40
2016-03-20 10:21:51 +01:00
Felix Raimundo
eed53079ca
Add EOF to stdio.h
...
Change-Id: I94e2b93bbfe50fd8daaf0ad5f8c2447c0d6fbef4
2016-03-18 18:55:25 +01:00
Romain Goyet
23bd7048b4
Merge "Add associativity rules to the lexer"
2016-03-18 17:15:59 +01:00
Romain Goyet
3c795a8763
Fix the guardian
...
Change-Id: I14af6937fecfbe90ab053594e1269fcbc3681b1c
2016-03-18 17:03:18 +01:00
Romain Goyet
cddb2ab887
Don't depend on the PLATFORM variable being defined
...
Change-Id: Ia1d0e5f320dfc0c6ab1cf8a588c297cbbc3c0df3
2016-03-18 16:53:01 +01:00
Romain Goyet
2c702874fd
Silent the linker build step
...
Change-Id: I6be94ec821e54ff474ec720ac0602cf25d60def1
2016-03-18 16:52:47 +01:00
Romain Goyet
2f80d17137
Don't define the PLATFORM value in the SFLAGS
...
Change-Id: Ic3a6729d93b8c61dda73c0aef102103bfa5f22d6
2016-03-18 16:52:29 +01:00
Romain Goyet
fd0c6eaba3
Add a (fake) implementation of powf in liba
...
Change-Id: I14af6937fecfbe90ab053594e1269fcbc3681b1c
2016-03-18 16:52:02 +01:00
Felix Raimundo
1ee6c58a97
Add associativity rules to the lexer
...
Change-Id: I684264a4bec04567a2edc9fcb1b418d517a552a2
2016-03-18 15:47:24 +01:00
Felix Raimundo
b5b11e0120
Pretify the makefile.
...
Change-Id: I14e8d3a5fcdd23b0cd28094d0d1f9d2dc702f86e
2016-03-18 14:33:53 +01:00
Felix Raimundo
a4e3f1e2d1
Compute power for real on the simulator.
...
Change-Id: I790f0b1216584835cd551893f16c052d21de7e31
2016-03-18 14:33:48 +01:00
Felix Raimundo
d1b14397ed
Adds the priorities to the parser and lexer.
...
Change-Id: I28950e802ab223460b2d283f2d7f4908ff8d9760
2016-03-18 14:33:44 +01:00
Felix Raimundo
08ba297780
Adds the subtraction expression.
...
Change-Id: Ia0f14e8919df354f68cfee91776ccf12b452df64
2016-03-18 14:33:39 +01:00
Felix Raimundo
4eb2553b35
Removed some dead code.
...
Change-Id: I1dec8aa22ee9f429335b3402c900b7bf19356e57
2016-03-18 14:33:22 +01:00
Felix Raimundo
12cf51d04e
Some cleanup
...
Adds the poincare README.
Removes a useless include in poincare/include/poincare/fraction_layout.hpp
Change-Id: Id4e4625b69df5eac6b7d6a58cb91c7331a0f7205
2016-03-18 14:32:59 +01:00
Felix Raimundo
e1393bea24
Update .gitignore
...
Removes generated parser / lexer, fonts rasterizer and object files.
Change-Id: I03e217fca2c151db221c0bc4ae9f84d75b39d409
2016-03-18 14:32:46 +01:00
Felix Raimundo
d42bbaf25a
Add exponent layout.
...
Change-Id: Iffce8dcdd4ecf10a8ed4170494b59fa6c524b9cb
2016-03-18 14:31:58 +01:00
Félix Raimundo
2db5b3e092
Merge changes Ic11846bc,Iaf6d678f
...
* changes:
Updates the addition code to use attributes.
Adds the power and parentheses to the parser.
2016-03-18 14:31:16 +01:00
Felix Raimundo
0059fe78fa
Updates the addition code to use attributes.
...
We use a left and right attribtes instead of a children table.
Change-Id: Ic11846bcf0763c717834124d626cb352a30e1045
2016-03-18 14:24:25 +01:00
Felix Raimundo
b33eb99067
Adds the power and parentheses to the parser.
...
Also removes some dead code and adds buttons in order to have parentehses.
Change-Id: Iaf6d678f765bb6a1c3405818738c51661aa43e12
2016-03-18 13:00:17 +01:00
Felix Raimundo
fd972bce65
Fix build
...
Change-Id: If550f0db40be8085fade58896f7d8a1b7db2cb47
2016-03-18 10:48:17 +01:00
Romain Goyet
15d91052f2
[Poincare] Handle symbol/context
2015-11-18 22:31:21 +01:00
Romain Goyet
aa783df6f2
Merge branch 'master' of 192.168.0.102:~/scm/calcos
2015-11-12 11:57:19 +01:00
Romain Goyet
1b9101d1d0
Fix the build
2015-11-12 11:41:52 +01:00
Romain Goyet
59e7f444ca
app: handle parsing errors
2015-10-26 11:14:04 +01:00
Romain Goyet
92a62eea12
Use KDCoordinate
2015-10-03 13:00:49 +02:00
Romain Goyet
8869986a76
[ion] Proper CM4 registers
2015-09-30 14:46:29 +02:00
Romain Goyet
6fa43ad41b
Funny plotter
2015-09-29 23:10:22 +02:00
Romain Goyet
2a29d0354b
[poincare] Parse variables
2015-09-29 23:09:01 +02:00
Romain Goyet
89c34d8251
[liba] strcmp
2015-09-29 23:07:19 +02:00
Romain Goyet
f8cb5a3d34
Makefile for blackbox
2015-09-29 22:02:08 +02:00
Romain Goyet
5da8500e77
[ion] blackbox
2015-09-29 22:01:48 +02:00
Romain Goyet
b6aded4d8f
[poincare] Expression deletion
2015-09-29 21:59:58 +02:00
Romain Goyet
2d97d2e4c3
Modular app
2015-09-29 21:59:29 +02:00
Romain Goyet
d384266ca6
[liba] Overridable pointer for heap start/end
2015-09-29 15:15:35 +02:00
Romain Goyet
3726bc11cc
Hack to fix the build with Os
2015-09-25 15:18:40 +02:00
Romain Goyet
54506e67db
[poincare] Temporary fix for fraction bar drawing
2015-09-25 14:22:55 +02:00
Romain Goyet
ae19b49176
Prevent FB overflow
2015-09-25 14:03:03 +02:00
Romain Goyet
f99326bd57
[kandinsky] proper Bresenham line tracing
2015-09-25 12:21:14 +02:00
Romain Goyet
6799f82e82
[liba] stdint size checks
2015-09-24 19:57:07 +02:00
Romain Goyet
7a4b8b5eda
Clean the CFLAGS
2015-09-24 19:56:48 +02:00
Romain Goyet
0a44218cdf
[poincare] use KDPointZero
2015-09-22 16:39:11 +02:00
Romain Goyet
94adb97bd9
[poincare] Proper virtual destructor for ExpressionLayout
2015-09-22 16:35:14 +02:00
Romain Goyet
010777db09
[poincare] use native_int_t when appropriate
2015-09-22 16:17:43 +02:00
Romain Goyet
1f7ed32704
[liba] stdint test
2015-09-22 16:11:25 +02:00
Romain Goyet
801b244e7a
[kandinsky] KDPointZero and KDRectZero
2015-09-22 16:11:00 +02:00