Thorsten von Eicken
4885b28bf2
clean-up esp8266 PR to move symbols to flash
2016-04-17 09:11:12 -07:00
Thorsten von Eicken
2c3f6f76b7
esp8266: small tweaks to moving jswsyms to flash
2016-04-16 23:28:10 -07:00
Thorsten von Eicken
1b4c8c691e
move wrapper symbol tables to flash on esp8266; bump to 1600 jsvars
2016-04-16 11:57:06 -07:00
Gordon Williams
b3fbc05def
autocomplete for properties
2015-10-22 19:08:58 +01:00
Gordon Williams
6d1495ddce
and this is why I don't like python
2015-10-20 16:03:26 +01:00
Neil Kolban
d322cc7d67
Change print "XXX" to print("XXX")
...
Change the python scripts to add parenthesis to print statements.
2015-08-27 14:19:19 -05:00
Gordon Williams
070b44ed9f
Added 'global' built-in value
2015-02-10 15:58:41 +00:00
Gordon Williams
32918505e2
Ensure that we only create as many Serial/I2C/etc items in Symbol table as we need ( fix #453 )
2014-12-19 11:53:51 +00:00
Gordon Williams
acb068e965
Remove libraries from root scope ( fix #463 )
2014-12-11 15:51:50 +00:00
Gordon Williams
6123df4f36
Store JSWAT_EXECUTE_IMMEDIATELY in a way that will fit in 16 bit function decls
2014-07-22 11:07:48 +01:00
Gordon Williams
554e6b5509
Switch native function decls from 32 bits to 16
2014-07-21 17:23:04 +01:00
Gordon Williams
bad8787371
Fix references to this - you can now write this["LED1"]
2014-07-17 08:28:37 +01:00
Gordon Williams
a0dee715d3
Fixed massive regression I'd just introduced in Exceptions
...
Fixed overriding of builtins with other Builtins
Added Date.valueOf
Added 262 test, which checks a lot of standard JS before even starting each small test
2014-06-13 18:22:30 +01:00
Gordon Williams
8e57136a28
fix indentation
2014-06-13 17:37:38 +01:00
Gordon Williams
836b050922
Properly fix Object.getOwnPropertyNames ( fix #380 )
2014-05-22 16:47:08 +01:00
Gordon Williams
87ac5a1c2b
Move 'constructor' into the correct place, be more aware of builtins in prototypes
2014-05-22 13:43:59 +01:00
Gordon Williams
ef4f41f758
attempted hacky fix
2014-05-15 14:01:50 +01:00
Gordon Williams
02e186b1ef
Fix issue initialising builtin objects
2014-05-14 18:09:45 +01:00
Gordon Williams
c06d630e65
added jswGetSymbolListForObject
2014-05-14 09:11:13 +01:00
Gordon Williams
6f6f161355
small speed boost
2014-05-14 08:46:00 +01:00
Gordon Williams
bf17ff2ac1
misc optimisation
2014-05-13 17:39:38 +01:00
Gordon Williams
9d45aba2f0
massive build_jswrapper cleanup
2014-05-13 17:32:11 +01:00
Gordon Williams
850cca8688
first try at symbol table - needs tidying
2014-05-13 17:28:19 +01:00
Gordon Williams
4962e6ea45
Tiny up python wrapper. This *almost* works - SPI seems glitchy though
2014-04-07 17:19:21 +01:00
Gordon Williams
386bc905c2
Fix Math.round regression and add checks to ensure it can't happen again
2014-04-03 09:54:24 +01:00
Gordon Williams (u36)
b4a9dcf937
fix memory leak
2014-04-02 07:58:25 +01:00
Gordon Williams
d6c47bf044
Ooops. Fix parsing of pin names
2014-03-31 18:25:50 +01:00
Gordon Williams
a5f2f2def0
attempt at reducing code size for checks
2014-03-31 16:49:10 +01:00
Gordon Williams
2d629a0e5e
more bugfixing
2014-03-31 14:59:30 +01:00
Gordon Williams
8dc36ba1e4
reworked tests for built-in objects
2014-03-31 14:29:33 +01:00
Gordon Williams
fed2e09f89
Support for generate_full and also fields
2014-03-31 12:40:17 +01:00
Gordon Williams
75cb8b791a
Remove JsVarName (will require later change to make function decls re-use existing functions), and other tweaks - '[1,2,3].forEach(console.log)' now works
2014-03-31 11:36:54 +01:00
Gordon Williams
bccd68783a
simple function references work
2014-03-30 17:28:03 +01:00
Gordon Williams
dae4dc2970
fixed crash when not enough arguments
2014-03-28 12:37:09 +00:00
Gordon Williams
ec8a8b1500
simple auto-generated caller more or less works now
2014-03-28 12:18:38 +00:00
Gordon Williams
ec8bc71758
Allow jswrapper to wrap objects with a name >8 characters long ( fix #264 )
2014-03-25 13:14:38 +00:00
Gordon Williams
317c021251
Use jswrapper.c for executing idle/init/kill events for libraries (cleans up jsinteractive.c)
2014-02-25 10:24:59 +00:00
Gordon Williams
5b313a511c
removing some compile warnings
2014-02-14 13:31:21 +00:00
Gordon Williams
82dfeb89d0
Epic refactor to remove JsParse ( fix #17 )
2014-02-12 12:44:02 +00:00
Gordon Williams
b207e387df
Change 'Pin' datatype to be an unsigned char - makes tests easier
2013-12-19 12:36:43 +00:00
Gordon Williams
739406d839
build_jswrapper now outputs errors to stderr (more compatible with default (silent) build process)
2013-11-14 10:54:00 +00:00
Gordon Williams (u36)
d4756f2ebf
Fix memory leak whe parsing functions iwht variable numbers of arguments - fix #115
2013-10-29 14:16:53 -07:00
Gordon Williams
e43f2d130e
Fix an assert fail, and handle some potential memory leaks
2013-10-22 19:09:01 +01:00
Gordon Williams
7e39506542
Allow built-in functions with variable numbers of arguments ( fix #83 )
2013-10-21 18:01:58 +01:00
Gordon Williams
7e9532b898
'http' and 'fs' are now libraries that need to be 'require'd, fix #8
2013-10-10 19:58:47 +01:00
Gordon Williams
f3d6e0bc83
First commit
2013-09-26 14:39:04 +01:00