diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-20 12:02:09 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-20 12:02:09 +0000 |
| commit | 5a54ecdade484168846b8db83a7f41c5275059c0 (patch) | |
| tree | f3ce7fd6c81e8a747b9a2e19b94588c307bef243 /README.md | |
| parent | be964b4df4db9f42e0b7d615c1cbfa6cf268e646 (diff) | |
docs(strings): document the embedded standard library and STRING values
Describe -no-std, C_STRING literals, library function semantics and
owning string lifetimes in the manuals and contributor guidance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ Details can be found here: [Pseudocode Guide for Teachers](https://www.cambridge - **Runtime checks**: Throw exceptions for array bounds errors, division by zero, file misuse, enum range errors and null pointer dereferences. - **Exception handling**: Catch exceptions with stack unwinding using the compiler extensions [TRY/CATCH/ENDTRY and THROW](doc/language/keyword/cpsc-keyword-try.7.md). - **Arrays**: Support multiple dimensions and custom lower and upper bounds. -- **Strings**: Support dynamic strings and built-in string functions. +- **Strings**: Provide the owning STRING class and string functions through an embedded standard library, loaded and linked by default; use `-no-std` to opt out. - **Functions and procedures**: Pass values, arrays and records by value; procedures also support `BYREF` parameters. - **Text files**: Support `OPENFILE`, `READFILE`, `WRITEFILE`, `CLOSEFILE` and `EOF`. - **User-defined types**: Support enumerated types, pointers and nested records. |
