Caution
You’re reading a draft of the Ferrocene Language Specification. Some parts of this document might be missing, incomplete or incorrect. Our aim is to have the specification ready by the end of 2022.
Ferrocene Language Specification¶
Contents:
- 1. General
- 2. Lexical Elements
- 3. Items
- 4. Types and Traits
- 5. Patterns
- 6. Expressions
- 6.1. Expression Classification
- 6.2. Literal Expressions
- 6.3. Path Expressions
- 6.4. Block Expressions
- 6.5. Operator Expressions
- 6.6. Underscore Expressions
- 6.7. Parenthesized Expressions
- 6.8. Array Expressions
- 6.9. Indexing Expressions
- 6.10. Tuple Expressions
- 6.11. Struct Expressions
- 6.12. Invocation Expressions
- 6.13. Field Access Expressions
- 6.14. Closure Expressions
- 6.15. Loop Expressions
- 6.16. Range Expressions
- 6.17. If and If Let Expressions
- 6.18. Match Expressions
- 6.19. Return Expressions
- 6.20. Await Expressions
- 6.21. Expression Precedence
- 6.22. Capturing
- 6.23. Arithmetic Overflow
- 7. Values
- 8. Statements
- 9. Functions
- 10. Associated Items
- 11. Implementations
- 12. Generics
- 13. Attributes
- 14. Entities and Resolution
- 15. Ownership and Destruction
- 16. Exceptions and Errors
- 17. Concurrency
- 18. Program Structure and Compilation
- 19. Unsafety
- 20. Macros
- 21. FFI
- 22. Inline Assembly
Appendices: