From e8ea3fbbe1d895723de473a8bfea2c74e6dc7421 Mon Sep 17 00:00:00 2001 From: servostar <72654954+Servostar@users.noreply.github.com> Date: Tue, 30 Jan 2024 22:02:58 +0000 Subject: [PATCH] Updated Programming language specification (Gemstone) (markdown) --- Programming-language-specification-(Gemstone).md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Programming-language-specification-(Gemstone).md b/Programming-language-specification-(Gemstone).md index 0b8a263..0956e68 100644 --- a/Programming-language-specification-(Gemstone).md +++ b/Programming-language-specification-(Gemstone).md @@ -48,7 +48,12 @@ The base of a composite type specifies on which primitive or composite type a de ## Example types ```cpp -typedef long float double_precision -typedef short short int ascii -typedef double int long_int -``` \ No newline at end of file +long float = double_precision +short short = int ascii +double int = long_int +``` +## Storage qualifier +Variables may have storage qualifier. These keywords describe how a variable is to be stored upon its creation. Available options are: +- `local`: store variable on function-local stack +- `global`: store variable on dynamically process-level heap +- `static`: store variable in process-level data segment with static allocation