From a3d9494cadc972d116e6b4202e7188c0a45a17c5 Mon Sep 17 00:00:00 2001
From: Philipp Paulweber
Date: Wed, 18 Sep 2019 15:28:50 +0200
Subject: [PATCH 1/3] Documentation: provided basic description of import
feature
* see: casm-lang/casm#14
---
doc/language/grammar/ImportDefinition.org | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/language/grammar/ImportDefinition.org b/doc/language/grammar/ImportDefinition.org
index 1d83dbd..cf00dc2 100644
--- a/doc/language/grammar/ImportDefinition.org
+++ b/doc/language/grammar/ImportDefinition.org
@@ -2,8 +2,10 @@
* ImportDefinition
-# A =import= definition TODO
-TBA
+Through the =import= definition it is possible to load external specifications and modules into the specification.
+The provided identifier path is used to search inside the specification base path for the requested specification.
+If the imported specification does belong to an external module, the import has to be defined externally via a CASM project YAML file.
+By default, if no import renaming (=as= identifier) is specified, the last identifier in the given import path is used.
#+html:
This definition is introduced in version =0.4.0=.
From b8369855f9106c7a2d57dca5408a5415595c12eb Mon Sep 17 00:00:00 2001
From: Philipp Paulweber
Date: Wed, 18 Sep 2019 15:29:49 +0200
Subject: [PATCH 2/3] Documentation: added release nodes
---
doc/release/0.4.0.org | 60 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
create mode 100644 doc/release/0.4.0.org
diff --git a/doc/release/0.4.0.org b/doc/release/0.4.0.org
new file mode 100644
index 0000000..c0e9cc5
--- /dev/null
+++ b/doc/release/0.4.0.org
@@ -0,0 +1,60 @@
+#
+# Copyright (C) 2014-2019 CASM Organization
+# All rights reserved.
+#
+# Developed by: Philipp Paulweber
+# Emmanuel Pescosta
+#
+#
+# This file is part of casm.
+#
+# casm is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# casm is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with casm. If not, see .
+#
+#
+
+#+options: toc:nil
+#+html: {{tag>release}}
+
+*** 0.4.0
+
+#+html:
+[[https://github.com/casm-lang/casm/releases/tag/0.3.0][{{fa>github?lg}}]] September 18, 2019
+
+The release identifier [[http://www.behindthename.com/name/diodorus][diodoros]]
+is derived from the Greek name Διοδωρος (Diodoros) and means "gift of Zeus".
+#+html:
+
+#+html:
+#+html:
+#+html:
+This is the fourth official release of the CASM project.
+It introduces three improvements.
+It introduces three improvements and this time all improvements are language related.
+First, we have a module and import system for our language. Through a new =import= syntax it is possible to load external specifications and modules into the current specification.
+Second, the CASM language allows UTF-8 symbols in comments, string literals, and certain characters for identifier names.
+Last but not least, we changed the =init= definition to be optional in CASM specifications to support =import= only specifications as well.
+
+#+html:
+#+html:
+#+html:
+
+| {{fa>file-alt?lg}} | *Language* | We introduced a new language syntax [[./../syntax#ImportDefinition][definition element]] to specify the =import= of specifications and modules. |
+| | | |
+| {{fa>file-alt?lg}} | *Language* | The CASM language front-end lexer does support UTF-8 characters now. |
+| | | |
+| {{fa>file-alt?lg}} | *Language* | Specifications can have optional =init= definition. |
+| | | |
+
+#+html:
+#+html:
From 08353696f65befd658f43b01d3add0bf763e09c3 Mon Sep 17 00:00:00 2001
From: Philipp Paulweber
Date: Wed, 18 Sep 2019 15:47:57 +0200
Subject: [PATCH 3/3] Libraries: updated dependencies
---
lib/casm-fe | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/casm-fe b/lib/casm-fe
index 1b58a38..cb33900 160000
--- a/lib/casm-fe
+++ b/lib/casm-fe
@@ -1 +1 @@
-Subproject commit 1b58a38afb73f4d5fd6abf34aefb7ac5624fd527
+Subproject commit cb339006eef354424df59696f1e566d58ffd213d