57 Star 30 Fork 166

OpenHarmony-SIG / arkcompiler_runtime_core

9663958 igelhaus 1657120561 Anton Soldatov

FROM NOW ON, FOLLOW https://gitee.com/igelhaus/arkcompiler_runtime_core/releases/ for releases of the spec

NB! During merge freeze because of code migration, this release is built from 7086cff0 at https://gitee.com/anedoria/arkcompiler_runtime_core/tree/spec206/

  • ArkUI: Callable types added
  • ArkUI: $$ unary operator added
  • Lexical: suffix f added for float (32-bit) literals
  • Classes: Syntax addition: type parameters for methods
  • Ambients: selective export for namespaces added
  • Clarified: trailing lambdas, unions, indexing expression of float types, bigint operators, import type
  • Removed: raw types
  • Text improved: Intro, Generics, GUI
最后提交信息为: Add licenses
9663958 igelhaus 1657120561 Anton Soldatov

Specification:

  • Added: async lambdas, dynamic object (draft),
  • Removed: qualified this and super, inner classes
  • Clarified: optional and rest parameters, nullish types, spread operator, tuples, generic conversions
  • Wording fixed in many chapters
  • Added index

Cookbook:

  • Rules relaxed: arkts-no-definite-assignment, arkts-no-symbol, arkts-no-utility-type, arkts-limited-stdlib
  • Rules removed: arkts-no-prop-existence-check, arkts-for-of-str-arr

PR: !2019:[ArkTS Docs] Updated spec up to spec205 branch

最后提交信息为: Fix pause time goal eden size management
9663958 igelhaus 1657120561 Anton Soldatov
  • Multiple changes in the Cookbook: relaxing and removing recipes
  • Multiple improvements of common TypeScript / ArkTS subset
  • Numerous improvements in wording and markup
  • Specification migrated from LaTeX to RST
9663958 igelhaus 1657120561 Anton Soldatov
  • Core specification version bumped to 1.0
  • Several features that were not compatible with TS common subset are removed: unsigned types, inner classes, anonymous classes, class literals, type declarations in classes and interfaces
  • All features outside common subset are moved to "Experimental Features" Chapter
  • All samples (except samples in "Experimental Features") are made valid for common subset
  • Almost all "to de done" are resolved (except those in "Experimental Features")
  • All internal links are fixed.
  • Wording and markup are improved.
最后提交信息为: disable test with prefix in gtest api
9663958 igelhaus 1657120561 Anton Soldatov
  • Support for GUI (ArkUI) draft
  • String literals grammar extended (single quotes)
  • Template literals added (backticks)
  • Char literals grammar fixed (c'a')
  • Syntax rules 'type', 'nullableType' are fixed. Syntax is now as in TS.
  • Final classes, methods added (open removed)
  • String interpolation expression is added.
  • extended semantics for extended &&, ||, and ! operators semantics
  • default export and import
  • Revised Intro, Lexical, Generics, Conversions, Expressions, Semantic Rules
  • Cookbook: revise and fix recipes
最后提交信息为: Increase STACK_OVERFLOW_RESERVED_SIZE
9663958 igelhaus 1657120561 Anton Soldatov
  • Added the first version of the Introduction chapter
  • Chapter 5. Generics and Chapter 6. Contexts and Conversions were rewritten and simplified
  • Generic methods and constructors are deleted (only classes, interfaces and functions can be generic).
  • Never renamed to never
  • null type is added
  • Subtyping and least upper bound sections moved to "Semantic Rules"
  • Class extends and implements clauses were rewritten
  • Fixed - signatures, override-equivalent
  • Fixed function call, method call
  • Operator ?? added to precedence table
  • return statement semantics updated - it can be used in constructors, class initializer and top-level statements
  • Initial values for variables updated
  • Intersection types removed
  • Revised Types (Chapter 3), Names, Declarations and Scopes (Chapter 4), Revised Modules and Packages (Chapter 14)
最后提交信息为: [DevEco][Linter] Make logs more verbose
9663958 igelhaus 1657120561 Anton Soldatov

Tutorial:

  • examples and terminology updated

Cookbook:

  • new recipes 3, 16, 22, 28, 29, 46, 51, 79, 83, 116, 127
  • fix recipes 38, 39, 45, 47

Specification:

  • Lexical: 'synchronized', 'defer' deleted, 'finally' added, 'get', 'set' added as soft keywords, string literals type fixed, example corrected
  • 'string' is used instead of 'String'
  • Getters/Setters added to classes and interfaces
  • Enumeration cannot be members of classes and interfaces
  • Rest parameters are added to functypes and functions
  • defer removed, finally added
  • Modules and Packages: Top-level statements are added
  • Revised wording: Interfaces, Enums, Exceptions (Chapters 10, 11, 12)
  • Many references corrected and some added
最后提交信息为: [PT] Add tests for inspector
9663958 igelhaus 1657120561 Anton Soldatov
  • Syntax rule for class field corrected mandatory semicolon removed
  • Chapter 7 - Expressions - reordered the sections - proper aligment of subsection introduced making the chapter easier for the reader
  • Operator precedence and associativity added into Chapter 7. Expressions
  • Block statement description updated - no return for procedure function reformulated
最后提交信息为: release 2023-03-09
9663958 igelhaus 1657120561 Anton Soldatov
  • Section "Types" (upto "Reference Types") was rewritten and clarified.
  • Section "Expression" was significantly improved. Call Expression semantics sections were moved to appendix A.
  • Null safety sections were reviewed and clarified.
  • Section "Statements" - text was improved.
  • Added description for async functions.
  • Added description for then, catch, and finally methods for Promise.
1
https://gitee.com/openharmony-sig/arkcompiler_runtime_core.git
git@gitee.com:openharmony-sig/arkcompiler_runtime_core.git
openharmony-sig
arkcompiler_runtime_core
arkcompiler_runtime_core

搜索帮助

344bd9b3 5694891 D2dac590 5694891