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

1448 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Protzenko 1f094656ca C++ compiler.
- Fill in variable declarations with a default value.
- Various fixes here and there (local variable declarations, scope...).

Lots of stuff hapenning in mbed.
2015-05-27 14:11:08 -07:00
Peli de Halleux 0891b95dad make pull requests available to 'teacher' 2015-05-27 13:16:03 -07:00
Peli de Halleux 465a8c74e4 support for `'` in topic paths 2015-05-27 12:07:42 -07:00
Jonathan Protzenko b486b4cb72 C++ compiler.
Proper compilation of empty statements.
2015-05-27 09:36:25 -07:00
Peli de Halleux 9f77a78d77 add 'diff to base' to teacher mode 2015-05-27 08:40:15 -07:00
Peli de Halleux 70d99f7fe1 adding profile to restricted teacher 2015-05-26 22:50:23 -07:00
Peli de Halleux e823901015 tuning teacher mode 2015-05-26 22:34:06 -07:00
Peli de Halleux f51bd1cbb7 added restrictedteacher mode 2015-05-26 22:27:15 -07:00
Peli de Halleux ea72b6be0a fixed Picture.draw_path / fill_path 2015-05-26 21:40:37 -07:00
Peli de Halleux a39cfa2f19 Merge branch 'master' of https://github.com/Microsoft/TouchDevelop 2015-05-26 17:28:27 -07:00
Jonathan Protzenko d329248408 C++ compiler.
Make library names lowercase (and don't touch the types, which are uppercase) to
avoid conflicts between:

  namespace Number { ...

and:

  typedef int Number;
2015-05-26 17:26:04 -07:00
Michal Moskal d303e6492a Merge branch 'master' of github.com:Microsoft/TouchDevelop 2015-05-26 17:25:26 -07:00
Michal Moskal 63c271dda8 auto publish for non-root docs 2015-05-26 17:25:19 -07:00
Peli de Halleux 9eda132e7a inject social network viewers for resources 2015-05-26 17:22:23 -07:00
Peli de Halleux 04795cc452 added 'convert to lesson' button 2015-05-26 16:50:39 -07:00
Peli de Halleux bd70d33dc7 Merge branch 'master' of https://github.com/Microsoft/TouchDevelop 2015-05-26 15:21:02 -07:00
Peli de Halleux 3042854ba9 updated docs 2015-05-26 15:20:56 -07:00
Michal Moskal f3029b97cb introduce {topic:...} macro; rework UI for doc pages 2015-05-26 15:20:25 -07:00
Michal Moskal 646651d169 Merge branch 'master' of github.com:Microsoft/TouchDevelop 2015-05-26 12:03:58 -07:00
Michal Moskal d12049cd54 Add 'import docs' buttons, and support '{topic:}' macro 2015-05-26 12:03:49 -07:00
Jonathan Protzenko 1294872ef5 C++ compiler.
- Local variable declarations.
2015-05-26 11:58:02 -07:00
Jonathan Protzenko d796133399 C++ compiler.
Deal with name resolution properly.
- Use C++ namespaces to achieve the TouchDevelop library scope semantics.
- Do not hardcode target C++ types; rather, use C++ typedef's in the prelude to
do:

  typedef Image ...;
  typedef Number bool;

and so on.
2015-05-26 11:06:19 -07:00
Michal Moskal f6aff2de67 Merge branch 'function' 2015-05-26 10:51:58 -07:00
Jonathan Protzenko 5310f15397 Blockly compiler.
Update the compiler to reflect the latest changes in the library.
2015-05-26 10:09:30 -07:00
Peli de Halleux c98fb37af2 make _libinit non-browsable. don't show non-browsable action in editor 2015-05-22 17:22:11 -07:00
Michal Moskal 0f9c9b6d5b NEW add _libinit() function handling 2015-05-22 16:06:34 -07:00
Jonathan Protzenko 0504c6e737 Blockly compiler.
Generate references to the Image type instead of image.
2015-05-22 15:49:41 -07:00
Peli de Halleux 42d303e484 renaming print string to "show string" 2015-05-22 15:21:24 -07:00
Peli de Halleux e7d48a75ce allow libraries to get cms preview as well 2015-05-22 13:55:24 -07:00
Michal Moskal d7997269ef fix 'return' in inline actions 2015-05-22 12:08:49 -07:00
Michal Moskal 0a569766c5 fix expression parser crash 2015-05-22 11:48:39 -07:00
Peli de Halleux 10018ecc3d in tutorials, run `#0 main` if available, instead of `main` 2015-05-22 10:27:52 -07:00
Peli de Halleux fdb360798f proper filtering of properties with profile 2015-05-22 10:09:13 -07:00
Peli de Halleux 0ff6004c4c remove data symbol from "promote to ... data" as it does not render properly in chrome 2015-05-22 00:39:16 -07:00
Peli de Halleux f4cc9f48e7 localizing messages 2015-05-22 00:30:14 -07:00
Peli de Halleux 8742e7c8c5 Merge branch 'master' of https://github.com/Microsoft/TouchDevelop 2015-05-22 00:09:17 -07:00
Peli de Halleux 8b781ef731 fixed compile issue 2015-05-22 00:08:49 -07:00
Peli de Halleux c61d15d3b3 don't auto-start script in phone mode 2015-05-22 00:04:12 -07:00
Peli de Halleux b471c41c91 Update README.md 2015-05-21 23:58:23 -07:00
Peli de Halleux 4f30079777 Update README.md 2015-05-21 21:38:59 -07:00
Peli de Halleux a5efc830e6 Update README.md
added choco instructions
2015-05-21 21:37:17 -07:00
Michal Moskal f9fe281d97 take top, not bottom of the stack when compressing 2015-05-21 18:44:51 -07:00
Michal Moskal dd2348dfb4 raise stack compression limit from 10 to 15 2015-05-21 18:43:49 -07:00
Michal Moskal 740bd0ba90 add break and return to restricted profile 2015-05-21 17:49:44 -07:00
Michal Moskal 8a39c5e6d1 remove action-function dichotomy 2015-05-21 17:39:37 -07:00
Michal Moskal f7e104a0ef rename action to function in messages 2015-05-21 17:37:36 -07:00
Jonathan Protzenko f1798145fb C++ compiler.
Scope globals with the name of the library they belong to.
2015-05-21 15:43:36 -07:00
Jonathan Protzenko e3e57ade6a C++ compiler.
More juggling with the Web AST, this time resolving libraries associated to
extension methods for proper name lookup.
2015-05-21 15:32:12 -07:00
Jonathan Protzenko 54e079246e C++ compiler.
Several more changes towards proper compilation of TouchDevelop scripts.
- Compile global variable definitions.
- Distinguish properly between "extension methods", "field accesses" and other
types of calls.

Several more bugfixes.
2015-05-21 14:59:49 -07:00
Jonathan Protzenko 19d2a786b0 C++ compiler.
Start generating some C++ that actually makes sense.
2015-05-21 13:58:00 -07:00