Граф коммитов

68 Коммитов

Автор SHA1 Сообщение Дата
Michal Moskal cb47b32263 Be smarter about marking locals as mutable 2016-01-14 18:09:45 -08:00
Michal Moskal c53565b771 Block writes to parameters of inline actions in restricted 2016-01-14 17:59:45 -08:00
Michal Moskal 2854e4a53e Start on proper capture of by-ref locals 2016-01-13 18:53:44 -08:00
Michal Moskal c79d8700f4 Don't crash on app->thumb in full TD 2015-11-20 11:13:50 -08:00
Michal Moskal 0ded4c8502 Make app->thumb available; use {asm:...} not {shim:...} for assembly functions 2015-11-18 18:27:56 -08:00
Michal Moskal 7cf7479415 Include closures of nested functions in current closure if needed; see /rvayfwyxhk 2015-11-12 16:05:53 -08:00
Peli de Halleux aa1ad22e5d simplified typechecker message. fix for bbc/microbit-extras#1984 2015-11-09 14:39:23 -08:00
Jonathan Protzenko bc6545f585 A better error message for return parameters. 2015-11-04 13:52:24 -08:00
Jonathan Protzenko 400c3d65ac Bump glue layer to v14.
- Support for captured variables with the cloud C++ compiler.
- Remove the related warning and prefs.
2015-11-03 15:35:04 -08:00
Michal Moskal e9e9622f7b Always serialize [lib ...] with singletons when possible - fixes parse problems when libraries not available 2015-10-23 17:14:56 -07:00
Michal Moskal 71ee2cf3f9 Further improve error reporting for inline assembly 2015-10-20 20:44:42 -07:00
Michal Moskal 4a51939fa2 Better error display from inline assembly 2015-10-20 19:43:50 -07:00
Michal Moskal 7a073cd014 Hook-up app->thumb 2015-10-19 23:08:05 -07:00
Michal Moskal adca1eea86 Add arm->thumb for inline Thumb assembly 2015-10-19 21:26:46 -07:00
Michal Moskal 6c1a82f280 Make locals captured by closures writable in TD compilation scheme, see https://github.com/bbc/microbit-extras/issues/2116 2015-10-16 21:44:30 -07:00
Peli de Halleux 78ad5f2e7a don't mix up hints and enum values for parameters. fix for #278. fix for bbc/microbit-extras#2009 2015-10-13 08:56:17 -07:00
Michal Moskal 2cdaf52dec Remove dead code 2015-10-06 18:15:20 -07:00
Michal Moskal 8f6b6596cb Merge branch 'master' into converter
Conflicts:
	ast/ast.ts
	editor/scriptProperties.ts
2015-10-06 18:12:54 -07:00
Michal Moskal e5c7ba9e37 C: type stuff 2015-09-23 16:39:16 -07:00
Michal Moskal 562424244b C: optional arguments 2015-09-23 13:02:09 -07:00
Michal Moskal e12a65a3ec handle holes 2015-09-21 21:55:01 +01:00
Michal Moskal 7282b2cab8 async stuff 2015-09-21 21:11:44 +01:00
Michal Moskal d1ee9c8668 give an error when an API with a non-zero capability is used in restricted mode; exceptions marked with //@ allowInRestricted; post-raw exception for Network (cms script) 2015-09-09 13:23:49 +02:00
Michal Moskal 8e63e2baf4 fix range warning for negative literals 2015-09-09 13:04:11 +02:00
Michal Moskal d51a7b3d7b in restricted mode disallow floats and other numbers outside of int32 range 2015-09-03 10:56:45 +01:00
Peli de Halleux 42a28102ca removed 'post to wall' message 2015-09-02 10:24:10 -07:00
Peli de Halleux 35e4d4cd4c render picture hint in editor 2015-08-27 23:45:35 -07:00
Michal Moskal 444991e360 don't access document.location (for usegcc=1) in potentially node.js code 2015-08-26 17:03:03 +01:00
Peli de Halleux 22cfa88318 support for single frame bit matrix 2015-08-25 22:59:20 -07:00
Jonathan Protzenko 23182abe5d Experimental support for compiling closures using GCC. 2015-08-24 10:18:10 -07:00
Peli de Halleux 19534fbf11 keep hint info in string literal 2015-08-11 17:18:48 -07:00
Michal Moskal 575e2c125a re-word message again 2015-08-06 17:04:38 -07:00
Michal Moskal 0549d936ce add hint to TD208; bump 'promote to data' priority when TD208 present 2015-08-06 16:59:38 -07:00
Michal Moskal adc695734e bring back the TD208 error with new entire-script-is-a-shim detector 2015-08-06 15:46:13 -07:00
Michal Moskal b628e3bae0 don't put unreachable warning on comments 2015-07-14 09:48:22 -07:00
Michal Moskal c35e847678 serialize library name with namespace references 2015-07-11 15:09:30 +01:00
Michal Moskal e800fa0696 fix hint display; add warning for unreachable code and fix compiler crash 2015-06-24 11:20:24 +01:00
Michal Moskal 66ac80df59 first draft of '{namespace:...}' macro for libraries 2015-06-16 22:21:10 -07:00
Peli de Halleux 4b7b021c8d disable inline check (breaks docs) 2015-06-11 06:03:46 -07:00
Michal Moskal d2c929c406 Compile the 4 arithmetic operations as integers in restricted 2015-06-10 15:11:54 -07:00
Michal Moskal 82e7e610e8 re-introduce TD208 (locals in handlers) error in non-shim functions 2015-06-10 14:35:10 -07:00
Peli de Halleux 8b161357a2 disable incorrect typecheck 2015-06-08 22:28:43 -07:00
Michal Moskal aee05aa83a disallow references to captured locals in restricted mode 2015-06-08 19:23:03 -07:00
Michal Moskal f7e104a0ef rename action to function in messages 2015-05-21 17:37:36 -07:00
Michal Moskal a3967419ea enable return+show in all modes; enable break/contine in coder and expert; disable assignment to single return variable (except in legacy tutorials) 2015-05-21 10:40:47 -07:00
Michal Moskal 2f0a3d52cf Add continue 2015-05-20 13:54:40 -07:00
Michal Moskal dfc7b169dd Disallow return with no value when there is a single return parameter 2015-05-20 13:00:22 -07:00
Michal Moskal 42014057e3 parser fixes 2015-05-20 11:39:36 -07:00
Michal Moskal e89862f99e make break, return, show calls... yeah. 2015-05-20 11:14:40 -07:00
Michal Moskal dd017716cd towards break&friends as expressions 2015-05-20 10:25:34 -07:00