Skip to content

Commit

Permalink
Bump files for 0.1.25 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkslabs committed Feb 3, 2018
1 parent 42ec5f9 commit 9ab8298
Show file tree
Hide file tree
Showing 10 changed files with 166 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
PYTHON=`which python`
DESTDIR=/
PROJECT=pyxie
VERSION=0.1.24
VERSION=0.1.25

all:
@echo "make source - Create source package"
Expand Down
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Pyxie -- A Little Python to C++ Compiler
What job does / will this do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The aim of this project is to allow a adults and children to write code
in a familiar high level language that can then be compiled to run on an
The aim of this project is to allow adults and children to write code in
a familiar high level language that can then be compiled to run on an
arbitrary embedded system - that is devices with very low power CPUs and
very little memory. (ie devices too small to host a python
interpreter/runtime)
Expand Down Expand Up @@ -240,6 +240,7 @@ Release History

Release History:

- 0.1.25 - UNRELEASED - TBD
- 0.1.24 - 2016-11-10 - Fix assignment in else/elif, update to support
Ubuntu 16.04LTS, initial steps on function/def statement support
- 0.1.23 - 2016-10-11 - Major arduino profile improvements,
Expand Down Expand Up @@ -431,4 +432,4 @@ As of 0.1.23, the print\_statement has been removed. As well as being
simplifying the syntax, it also means that Arudino statements like
Serial.print now become legal statements.

Michael Sparks, November 2016
Michael Sparks, February 2018
75 changes: 73 additions & 2 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,79 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/), within
reason. (Prior to a 1.0.0 release minor version increases may be backwards
incompatible)
incompatible) See doc/Versioning.md for more details

## [0.1.25] - UNRELEASED

The focus of this release is the result of the independent intermediate
node refactoring project I was undertaking. This was to transform the list
oriented data structure for representing a "pure" intermediate form of
code into a more stuctured/generalisable format.

The motivation behind this change was the realisation that implementation
of end user functions (ie `def`) would be very difficult with this more
structured approach.

### New

* `doc/Versioning.md` - semantic versioning as it applies to pyxie
* `doc/WIPNOTES/6.Models.md` - start of some docs around the models in use
* Added explicit notes on licensing of pyxie's output.
(Short version: I view the output as being derived from your code by you)
* Language focussed examples / acceptance tests added:
`if` `if-else` `pass` `print` `while-break` `while-continue`
* Change `arduino` profile to support the `Adafruit_NeoPixel` library
* `neopixel` example added

### What's been fixed? / Improved

* Handling if if/elif/else improved/fixed
* added `clean.sh` to `arduino` example
* added `clean.sh` to `servo` example
* added `README.md` to `simplest_function` example (won't work yet)

### Internal Changes

* `bin/pyxie` now pulls in functionality from `pyxie.api` to be clearer
about what the API is
* added `pyxie/api.py` - public API for embedding pyxie. (Assumes
ubuntu host) Core contents:
* `initialise_API(profile="default")` - Call first
* `set_profile(profile_name)` - Call later
* `PyxieAPI.parse(filename)` - parse file, output goes to console
* `PyxieAPI.analyse(filename)` - parse & analyse flle, output to console
* `PyxieAPI.codegen(filename, result_filename=None)` - parse through
code generation. Output to console
* `PyxieAPI.compile(filename, result_filename=None)` - Compile file,
result ends up as "result_filename"
* `pyxie/core` - changed over to drive the conversion of pynodes to
cppnodes via iinodes. (aim is to simplify pynodes down the line and
make iinodes our main location for analysis/etc)
* Minor changes to `.gitignore`
* Minor change to the `Makefile` to make editting simpler for me...
* Update `clib.py` based on changes to `clib`
* `pyxie/codegen/simple_cpp.py` - functionality shifted out to
`pyxie/models/cppnodes.py` to allow a model driven approach
* `pyxie/model/cppnodes.py` Created. A better code representation
model for C++. Code generation therefore means transforming from the
`iiNode`s to `CppNode`s
* `pyxie/model/iinodes.py` - Introduces `iiNode`s - which are used to
represent an intermediate version of a program such that it can bridge
the conversion between languages
* `pyxie/model/pynodes/operators.py` - added `args()` method to a number
of classes to unify behaviours
* `pyxie/model/transform.py` - Major change - converts `PyNode`s to
`iiNode` representation rather than json objects.

### Other

* `doc/newsletter/07-20161110.Pyxie-Release-0.1.24.md` corrected release date
* `doc/newsletter/XX-TBD.Pyxie-2017-Goals.md` - Unreleased newsletter.
Interesting notes, will get reused if appropriate later. Rather moot
contents now though.
* `doc/newsletter/08-TBD.Focus-Or-Pyxie-Release-X.X.XX.md` Template for
next newsletter


## [0.1.24] - 2016-11-10

Expand Down Expand Up @@ -66,7 +138,6 @@ incompatible)
* Add special case for function calls like print #37



## [0.1.23] - 2016-10-11

Not backwards compatible due to changes to "print"
Expand Down
5 changes: 3 additions & 2 deletions doc/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## Pyxie -- A Little Python to C++ Compiler

**Latest Release:** [0.1.23](changelog.html) (12/Oct/2016)
**Latest Release:** [0.1.25](changelog.html) (3/Feb/2018)

### What job does / will this do?

The aim of this project is to allow a adults and children to write code in a
The aim of this project is to allow adults and children to write code in a
familiar high level language that can then be compiled to run on an arbitrary
embedded system - that is devices with very low power CPUs and very little memory.
(ie devices too small to host a python interpreter/runtime)
Expand Down Expand Up @@ -446,6 +446,7 @@ inspired heavily by python introspection) That's quite some time off.

Release History:

* 0.1.25 - UNRELEASED - TBD
* 0.1.24 - 2016-11-10 - Fix assignment in else/elif, update to support Ubuntu 16.04LTS, initial steps on function/def statement support
* 0.1.23 - 2016-10-11 - Major arduino profile improvements, print-as-function not statement
* 0.0.22 - 2016-09-25 - Enable ability to use a variety of Arduino boards by using an Makefile.in file
Expand Down
5 changes: 3 additions & 2 deletions pyxie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
### What job does / will this do?
The aim of this project is to allow a adults and children to write code in a
The aim of this project is to allow adults and children to write code in a
familiar high level language that can then be compiled to run on an arbitrary
embedded system - that is devices with very low power CPUs and very little memory.
(ie devices too small to host a python interpreter/runtime)
Expand Down Expand Up @@ -237,6 +237,7 @@
Release History:
* 0.1.25 - UNRELEASED - TBD
* 0.1.24 - 2016-11-10 - Fix assignment in else/elif, update to support Ubuntu 16.04LTS, initial steps on function/def statement support
* 0.1.23 - 2016-10-11 - Major arduino profile improvements, print-as-function not statement
* 0.0.22 - 2016-09-25 - Enable ability to use a variety of Arduino boards by using an Makefile.in file
Expand Down Expand Up @@ -398,7 +399,7 @@
legal statements.
Michael Sparks, November 2016
Michael Sparks, February 2018
"""
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def find_packages(path, base="" ):
package_names = packages.keys()

setup(name = "pyxie",
version = "0.1.24",
version = "0.1.25",
description = "Little Python to C++ Compiler",
url='http://www.sparkslabs.com/pyxie/',
author='Michael Sparks (sparkslabs)',
Expand All @@ -69,8 +69,8 @@ def find_packages(path, base="" ):
What job does / will this do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The aim of this project is to allow a adults and children to write code
in a familiar high level language that can then be compiled to run on an
The aim of this project is to allow adults and children to write code in
a familiar high level language that can then be compiled to run on an
arbitrary embedded system - that is devices with very low power CPUs and
very little memory. (ie devices too small to host a python
interpreter/runtime)
Expand Down Expand Up @@ -305,6 +305,7 @@ def find_packages(path, base="" ):
Release History:
- 0.1.25 - UNRELEASED - TBD
- 0.1.24 - 2016-11-10 - Fix assignment in else/elif, update to support
Ubuntu 16.04LTS, initial steps on function/def statement support
- 0.1.23 - 2016-10-11 - Major arduino profile improvements,
Expand Down Expand Up @@ -496,7 +497,7 @@ def find_packages(path, base="" ):
simplifying the syntax, it also means that Arudino statements like
Serial.print now become legal statements.
Michael Sparks, November 2016
Michael Sparks, February 2018
"""
)
77 changes: 74 additions & 3 deletions site/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,86 @@ template: mainpage
source_form: markdown
name: Changelog
title: Changelog
updated: November 2016
updated: February 2018
---
## Change Log

All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/), within
reason. (Prior to a 1.0.0 release minor version increases may be backwards
incompatible)
incompatible) See doc/Versioning.md for more details

## [0.1.25] - UNRELEASED

The focus of this release is the result of the independent intermediate
node refactoring project I was undertaking. This was to transform the list
oriented data structure for representing a "pure" intermediate form of
code into a more stuctured/generalisable format.

The motivation behind this change was the realisation that implementation
of end user functions (ie `def`) would be very difficult with this more
structured approach.

### New

* `doc/Versioning.md` - semantic versioning as it applies to pyxie
* `doc/WIPNOTES/6.Models.md` - start of some docs around the models in use
* Added explicit notes on licensing of pyxie's output.
(Short version: I view the output as being derived from your code by you)
* Language focussed examples / acceptance tests added:
`if` `if-else` `pass` `print` `while-break` `while-continue`
* Change `arduino` profile to support the `Adafruit_NeoPixel` library
* `neopixel` example added

### What's been fixed? / Improved

* Handling if if/elif/else improved/fixed
* added `clean.sh` to `arduino` example
* added `clean.sh` to `servo` example
* added `README.md` to `simplest_function` example (won't work yet)

### Internal Changes

* `bin/pyxie` now pulls in functionality from `pyxie.api` to be clearer
about what the API is
* added `pyxie/api.py` - public API for embedding pyxie. (Assumes
ubuntu host) Core contents:
* `initialise_API(profile="default")` - Call first
* `set_profile(profile_name)` - Call later
* `PyxieAPI.parse(filename)` - parse file, output goes to console
* `PyxieAPI.analyse(filename)` - parse & analyse flle, output to console
* `PyxieAPI.codegen(filename, result_filename=None)` - parse through
code generation. Output to console
* `PyxieAPI.compile(filename, result_filename=None)` - Compile file,
result ends up as "result_filename"
* `pyxie/core` - changed over to drive the conversion of pynodes to
cppnodes via iinodes. (aim is to simplify pynodes down the line and
make iinodes our main location for analysis/etc)
* Minor changes to `.gitignore`
* Minor change to the `Makefile` to make editting simpler for me...
* Update `clib.py` based on changes to `clib`
* `pyxie/codegen/simple_cpp.py` - functionality shifted out to
`pyxie/models/cppnodes.py` to allow a model driven approach
* `pyxie/model/cppnodes.py` Created. A better code representation
model for C++. Code generation therefore means transforming from the
`iiNode`s to `CppNode`s
* `pyxie/model/iinodes.py` - Introduces `iiNode`s - which are used to
represent an intermediate version of a program such that it can bridge
the conversion between languages
* `pyxie/model/pynodes/operators.py` - added `args()` method to a number
of classes to unify behaviours
* `pyxie/model/transform.py` - Major change - converts `PyNode`s to
`iiNode` representation rather than json objects.

### Other

* `doc/newsletter/07-20161110.Pyxie-Release-0.1.24.md` corrected release date
* `doc/newsletter/XX-TBD.Pyxie-2017-Goals.md` - Unreleased newsletter.
Interesting notes, will get reused if appropriate later. Rather moot
contents now though.
* `doc/newsletter/08-TBD.Focus-Or-Pyxie-Release-X.X.XX.md` Template for
next newsletter


## [0.1.24] - 2016-11-10

Expand Down Expand Up @@ -73,7 +145,6 @@ incompatible)
* Add special case for function calls like print #37



## [0.1.23] - 2016-10-11

Not backwards compatible due to changes to "print"
Expand Down
2 changes: 1 addition & 1 deletion site/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updated: October 2016
---
## Pyxie -- A Little Python to C++ Compiler

**Latest Release:** [0.1.23](changelog.html) (12/Oct/2016)
**Latest Release:** [0.1.25](changelog.html) (3/Feb/2018)

{% whatjobdoesthisdo = panel("panels/what-job-does-this-do.md") %}

Expand Down
1 change: 1 addition & 0 deletions site/src/panels/shortlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Shortlog
updated: August 2016
title: Shortlog
---
* 0.1.25 - UNRELEASED - TBD
* 0.1.24 - 2016-11-10 - Fix assignment in else/elif, update to support Ubuntu 16.04LTS, initial steps on function/def statement support
* 0.1.23 - 2016-10-11 - Major arduino profile improvements, print-as-function not statement
* 0.0.22 - 2016-09-25 - Enable ability to use a variety of Arduino boards by using an Makefile.in file
Expand Down
2 changes: 1 addition & 1 deletion site/src/panels/what-job-does-this-do.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: What Job Does This Do?
---
### What job does / will this do?

The aim of this project is to allow a adults and children to write code in a
The aim of this project is to allow adults and children to write code in a
familiar high level language that can then be compiled to run on an arbitrary
embedded system - that is devices with very low power CPUs and very little memory.
(ie devices too small to host a python interpreter/runtime)
Expand Down

0 comments on commit 9ab8298

Please sign in to comment.