Skip to content

Commit

Permalink
updated files for release 0.3.4
Browse files Browse the repository at this point in the history
updated the README file for the latest changes
modified file headers for consistency (fixed copyright year as needed)
  • Loading branch information
thunder422 committed Apr 6, 2013
1 parent d810bba commit 2a19163
Show file tree
Hide file tree
Showing 31 changed files with 75 additions and 64 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -49,7 +49,7 @@ set(ibcp_COPYRIGHT_YEAR 2013)

set(ibcp_RELEASE_MAJOR 0)
set(ibcp_RELEASE_MINOR 3)
set(ibcp_RELEASE_PATCH 3)
set(ibcp_RELEASE_PATCH 4)

set(ibcp_RELEASE_STRING release${ibcp_RELEASE_MAJOR}.${ibcp_RELEASE_MINOR})
if (ibcp_RELEASE_PATCH LESS 0)
Expand Down
12 changes: 8 additions & 4 deletions README
Expand Up @@ -42,10 +42,14 @@ items, the tool bar with several file and edit operations, an edit box
for editing the program (which emits line changes including lines
inserted and deleted) and a status bar.

The ProgramModel holds the program an updates the program as lines are
changed from the edit box. For now the program only handles text files.
There is a temporary program view dock widget used for monitoring the
internal program during development.
The ProgramModel holds the program an updates the program as reverse polish
notation (RPN) lists, an intermediate format on its way to being compiled, as
lines are changed from the edit box. The program now handles the BASIC
commands so far implemented in the translator (LET, PRINT and INPUT). There is
a temporary program view dock widget used for monitoring the internal program
during development that is currently showing the translated program lines as
RPN lists. Error messages with column and length values are show for lines
with errors.


Building The Program
Expand Down
2 changes: 1 addition & 1 deletion commandhandlers.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:

// Interactive BASIC Compiler Project
// File: commandhandlers.cpp - contains code for translator command handlers
// File: commandhandlers.cpp - translator command handlers source file
// Copyright (C) 2012 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions commandline.cpp
@@ -1,8 +1,8 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: commandline.n - command line functions source file
// Copyright (C) 2012 Thunder422
// File: commandline.n - command line class source file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 2 additions & 2 deletions commandline.h
@@ -1,8 +1,8 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: commandline.h - command line header file
// Copyright (C) 2012 Thunder422
// File: commandline.h - command line class header file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion editbox.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: editbox.h - edit box functions
// File: editbox.h - edit box class source file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion editbox.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: editbox.h - edit box header file
// File: editbox.h - edit box class header file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion ibcp.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: ibcp.h - main definitions file
// File: ibcp.h - main header file
// Copyright (C) 2010-2012 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: main.cpp - main function
// File: main.cpp - main function source file
// Copyright (C) 2010-2012 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion mainwindow.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: mainwinow.cpp - main window functions
// File: mainwinow.cpp - main window class source file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion mainwindow.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: mainwinow.h - main window header file
// File: mainwinow.h - main window class header file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion parser.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:

// Interactive BASIC Compiler Project
// File: parser.cpp - contains code for the parser class
// File: parser.cpp - parser class source file
// Copyright (C) 2010-2011 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion parser.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: parser.h - parser class definitions file
// File: parser.h - parser class header file
// Copyright (C) 2012 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion programlinedelegate.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: programlinedelegate.cpp - program line delegate functions
// File: programlinedelegate.cpp - program line delegate class source file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion programlinedelegate.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: programlinedelegate.h - program line delegate header file functions
// File: programlinedelegate.h - program line delegate class header file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion programmodel.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: programmodel.h - program model functions
// File: programmodel.h - program model class source file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion programmodel.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: programmodel.h - program model header file
// File: programmodel.h - program model class header file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions recentfiles.cpp
@@ -1,8 +1,8 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: recentfiles.cpp - recent files list functions
// Copyright (C) 2012 Thunder422
// File: recentfiles.cpp - recent files class source file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 2 additions & 2 deletions recentfiles.h
@@ -1,8 +1,8 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: recentfiles.h - recent files list header file
// Copyright (C) 2012 Thunder422
// File: recentfiles.h - recent files class header file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
59 changes: 33 additions & 26 deletions rel_notes.txt
Expand Up @@ -18,35 +18,42 @@ see <http://www.gnu.org/licenses/>.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Planned Roadmap (updated):

Hook Translator (program text to RPN list) to Program Model
Initial Recreator (RPN list to program text) implementation
Hook Recreator to GUI (update Edit Box)
Initial Encoder (RPN list to internal code) implementation
Hook Encoder to Program Model
Initial Decoder (internal code to RPN list) implementation
Hook Decoder to Program Model and Recreator

Planned Roadmap (outdated):

Translator - Colons (Parser issues, Token Status Enumeration)
Encoder - (for commands implemented so far)
Dictionary Definition (variables and arrays)
Dim command (translation and encoding)
Recreator (for command implemented so far)
Internal Language Definition
Translator - Line Numbers
Translator - Immediate Commands
Program (maintainer and simple line editor)
Run-time module (for command implemented so far)
Command - IF
Command - FOR-NEXT
Command - DO-LOOP
Command - Single line DEF FN
Planned Roadmap (updated 2013-04-05):

(current) Translator/Program Model/GUI Integration
Implement initial Recreator (RPN list to program text)
Integrate Recreator to GUI (update Edit Box)
Implement initial Encoder (RPN list to internal code)
Implement Variable Dictionary (needed for Encoder)
Implement initial Decoder (internal code to RPN list)
Integrate Decoder/Recreator/GUI
Implement initial Run-time Module (for LET, PRINT and INPUT)
Implement Colon
Implement DIM command and arrays
Implement IF command
Implement FOR-NEXT commands
Implement DEF FN command
Implement DO-WHILE-UNTIL-LOOP commands
To be defined...


Release 0.3.4 (2013-03-23)

Project developmental release - the program model has been
integrated with the translator and now stores the translated RPN
(reverse polish notation) lists, which may contain an error, and
the program view displays the text representation of the RPN
list. Other major changes:

- New RpnList class the holds list of RPN items or an error
- Corrected the precedence of the Colon operator (not yet
implemented) to resolve an issue that occurred in lines with
a colon.
- Removed copyright and table initialization error from test
output so that the expected results files do not need to be
changed when the copyright year changes.


Release 0.3.3 (2013-03-23)

Project developmental release - the edit box now displays an '*'
Expand Down
2 changes: 1 addition & 1 deletion rpnlist.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:

// Interactive BASIC Compiler Project
// File: rpnlist.cpp - contains reverse polish notation list code
// File: rpnlist.cpp - reverse polish notation classes source file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion rpnlist.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: rpnlist.h - reverse polish notation list definitions file
// File: rpnlist.h - reverse polish notation classes header file
// Copyright (C) 2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion table.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:

// Interactive BASIC Compiler Project
// File: table.cpp - contains operator/command/function table
// File: table.cpp - operator/command/function table source file
// Copyright (C) 2010-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion table.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: table.h - table class definitions file
// File: table.h - table class header file
// Copyright (C) 2012 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion test_ibcp.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:

// Interactive BASIC Compiler Project
// File: test_ibcp.cpp - contains code for testing
// File: test_ibcp.cpp - tester class source file
// Copyright (C) 2010-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions test_ibcp.h
@@ -1,8 +1,8 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: test_ibcp.h - test header file
// Copyright (C) 2012 Thunder422
// File: test_ibcp.h - tester class header file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion token.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: token.cpp - contains code for the token class
// File: token.cpp - token class source file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion token.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: token.h - token class definitions file
// File: token.h - token class header file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion tokenhandlers.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:

// Interactive BASIC Compiler Project
// File: tokenhandlers.cpp - contains code for translator token handlers
// File: tokenhandlers.cpp - translator token handlers source file
// Copyright (C) 2012 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion translator.cpp
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:

// Interactive BASIC Compiler Project
// File: translator.cpp - contains code for the translator class
// File: translator.cpp - translator class source file
// Copyright (C) 2010-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion translator.h
@@ -1,7 +1,7 @@
// vim:ts=4:sw=4:
//
// Interactive BASIC Compiler Project
// File: translator.h - translator class definitions file
// File: translator.h - translator class header file
// Copyright (C) 2012-2013 Thunder422
//
// This program is free software: you can redistribute it and/or modify
Expand Down

0 comments on commit 2a19163

Please sign in to comment.