Skip to content

Commit

Permalink
Merge pull request #108 from casm-lang/release/0.5.0
Browse files Browse the repository at this point in the history
Release 0.5.0
  • Loading branch information
ppaulweber committed Apr 5, 2020
2 parents 4214c08 + d319338 commit ca47e58
Show file tree
Hide file tree
Showing 20 changed files with 113 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
name: release

on:
create:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ doxy:

grammar:
@for i in `grep "#+html: {{page>.:grammar:" lib/casm-fe/src/various/Grammar.org | sed "s/#+html: {{page>.:grammar:/doc\/language\/grammar\//g" | sed "s/&noheader&nofooter}}/.org/g"`; do if [ ! -f $$i ]; then echo "Documentation of '$$i' is missing!"; fi; done
@echo "Grammar Rules"
@grep "#+html: {{page>.:grammar:" doc/language/syntax.org | wc -l
@echo "Grammar Descriptions"
@ls doc/language/grammar/ | wc -l


GITHUB_PATH = $(subst ., $(CONFIG), $(UPDATE_PATH))
Expand Down
2 changes: 1 addition & 1 deletion app/casmd
2 changes: 1 addition & 1 deletion app/casmf
2 changes: 1 addition & 1 deletion app/casmi
5 changes: 5 additions & 0 deletions doc/language/grammar/AttributedLocalFunctionDefinition.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#+options: toc:nil

* AttributedLocalFunctionDefinition

An attributed local function definition which can have optionally =Attributes=.
9 changes: 9 additions & 0 deletions doc/language/grammar/LocalFunctionDefinition.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#+options: toc:nil

* LocalFunctionDefinition

The same as a traditional =FunctionDefinition= without a =function= keyword.

#+html: <callout type="info" icon="true">
This definition is introduced in version =0.5.0=.
#+html: </callout>
5 changes: 5 additions & 0 deletions doc/language/grammar/LocalFunctionDefinitions.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#+options: toc:nil

* LocalFunctionDefinitions

LocalFunctionDefinitions consist of one or more attributed =LocalFunctionDefintions=.
10 changes: 10 additions & 0 deletions doc/language/grammar/LocalRule.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#+options: toc:nil

* LocalRule

The =local= rule defines a function definition in the current rule scope.
Therefore, it represents a local state inside a given rule.

#+html: <callout type="info" icon="true">
This definition is introduced in version =0.5.0=.
#+html: </callout>
10 changes: 10 additions & 0 deletions doc/language/grammar/UsingPathDefinition.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#+options: toc:nil

* UsingPathDefinition

A =using= path definition makes symbols of imported module determined by its =IdentifierPath= visible in the current specification.
If the symbol path ends with an star (=*=), then all symbols of the specified module path are made visible in the current specification.

#+html: <callout type="info" icon="true">
This definition is introduced in version =0.5.0=.
#+html: </callout>
57 changes: 57 additions & 0 deletions doc/release/0.5.0.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# Copyright (C) 2014-2020 CASM Organization <https://casm-lang.org>
# All rights reserved.
#
# Developed by: Philipp Paulweber
# Emmanuel Pescosta
# <https://github.com/casm-lang/casm>
#
# 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 <http://www.gnu.org/licenses/>.
#
#

#+options: toc:nil
#+html: {{tag>release}}

*** 0.5.0

#+html: <callout title="Release ''epiktetos''">
[[https://github.com/casm-lang/casm/releases/tag/0.5.0][{{fa>github?lg}}]] April 5, 2020

The release identifier [[http://www.behindthename.com/name/epiktetos][epiktetos]]
is derived from the Greek name Επικτητος (Epiktetos) and means "newly acquired".
#+html: </callout>

#+html: <grid>
#+html: <col lg="6" md="12">
#+html: <TEXT align="justify">
This is the fives official release of the CASM project.
It introduces two improvements and all are language related.
The last release introduced a module import concept and we have added a =using= path namespace concept to make symbols visible and shorted their symbol name path.
Besides the =using= path syntax, we support the =local= rule definition now.
This rule allows a specifier to defined (nested) local state functions inside given rule scopes.

#+html: </TEXT>
#+html: </col>
#+html: <col lg="6" md="12">

| {{fa>file-alt?lg}} | *Language* | We introduced a new language syntax [[./../syntax#UsingPathDefinition][definition element]] to make module symbols visible under shorter name. |
| | | |
| {{fa>file-alt?lg}} | *Language* | Provided support for the [[./../syntax#LocalRule][local rule]] to defined nested local states. |
| | | |

#+html: </col>
#+html: </grid>
2 changes: 1 addition & 1 deletion lib/asmjit
Submodule asmjit updated 44 files
+10 −0 .editorconfig
+62 −52 .travis.yml
+71 −9 CMakeLists.txt
+5 −4 README.md
+6 −0 src/asmjit/core/assembler.cpp
+7 −7 src/asmjit/core/builder.h
+26 −0 src/asmjit/core/codeholder.h
+13 −3 src/asmjit/core/compiler.cpp
+3 −3 src/asmjit/core/compiler.h
+1 −1 src/asmjit/core/constpool.cpp
+9 −4 src/asmjit/core/emitter.h
+4 −4 src/asmjit/core/features.h
+9 −9 src/asmjit/core/func.h
+1 −1 src/asmjit/core/jitallocator.cpp
+1 −1 src/asmjit/core/operand.cpp
+1 −1 src/asmjit/core/string.cpp
+6 −6 src/asmjit/core/string.h
+1 −1 src/asmjit/core/support.cpp
+6 −6 src/asmjit/core/support.h
+113 −35 src/asmjit/core/virtmem.cpp
+9 −2 src/asmjit/core/virtmem.h
+6 −6 src/asmjit/core/zone.h
+173 −34 src/asmjit/core/zonehash.cpp
+29 −13 src/asmjit/core/zonehash.h
+1 −1 src/asmjit/core/zonelist.cpp
+1 −1 src/asmjit/core/zonestack.cpp
+1 −1 src/asmjit/core/zonetree.cpp
+1 −1 src/asmjit/core/zonevector.cpp
+56 −9 src/asmjit/x86/x86assembler.cpp
+1 −0 src/asmjit/x86/x86compiler.cpp
+82 −83 src/asmjit/x86/x86compiler.h
+18 −0 src/asmjit/x86/x86emitter.h
+1 −1 src/asmjit/x86/x86instapi.cpp
+1,448 −1,451 src/asmjit/x86/x86instdb.cpp
+1 −1 src/asmjit/x86/x86internal.cpp
+1 −3 src/asmjit/x86/x86logging.cpp
+1 −1 src/asmjit/x86/x86operand.cpp
+1 −1 src/asmjit/x86/x86operand.h
+2 −2 test/asmjit_test_x86_cc.cpp
+10 −6 test/broken.cpp
+14 −11 test/broken.h
+17 −0 tools/configure-sanitizers.sh
+1 −0 tools/tablegen-x86.js
+1 −1 tools/tablegen.js
2 changes: 1 addition & 1 deletion lib/casm-fe
2 changes: 1 addition & 1 deletion lib/casm-ir
2 changes: 1 addition & 1 deletion lib/casm-rt
2 changes: 1 addition & 1 deletion lib/casm-tc
2 changes: 1 addition & 1 deletion lib/pass
2 changes: 1 addition & 1 deletion lib/stdhl
Submodule stdhl updated from d009af to a26678
2 changes: 1 addition & 1 deletion lib/tptp
2 changes: 1 addition & 1 deletion lib/z3
Submodule z3 updated 689 files

0 comments on commit ca47e58

Please sign in to comment.