Reads tokenized GFA BASIC version 3.x source files (.GFA) and converts them to human readable ASCII listings (.LST).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Markus Hoffmann d952910c9f Update README 3 months ago
doc updated contact information / URL / email 5 years ago
sh Update README 3 months ago
tests Adapted tests 4 months ago
.gitattributes added gfalist for git diff 5 years ago
.gitignore Improved Makefile 3 months ago
COPYING Initial import of ons-0.01.a 8 years ago
HISTORY Initial import of ons-0.01.a 8 years ago
MANIFEST Initial import of ons-0.01.a 8 years ago
Makefile Update README 3 months ago
README.md Update README 3 months ago
README.original Update README 3 months ago
changelog.Debian Improved Makefile 3 months ago
charset.c Initial import of ons-0.01.a 8 years ago
charset.h Initial import of ons-0.01.a 8 years ago
copyright Improved Makefile 3 months ago
description-pak Improved Makefile 3 months ago
gfalist.1 Update man-page 2 years ago
gfalist.c Bugfix: detecting unknown Tokens. 2 years ago
ons.spec updated contact information / URL / email 5 years ago
sky.c Bugfix: detecting unknown Tokens. 2 years ago
sky.h Introduced a new commandline option -f to omit the GFA version check. 2 years ago
tables.c Bugfix: detecting unknown Tokens. 2 years ago
tables.h Initial import of ons-0.01.a 8 years ago

README.md

GFALIST

GFA-Basic .gfa file to .lst converter.

Copyright (C) 1992-2001  Peter Backes
with contributions (c) 2014 by Francois Revol
with contributions (c) 2016-2021 by Markus Hoffmann

Description

Gfalist reads tokenized GFA BASIC version 3.x source files (.GFA) and converts them to human readable ASCII listings (.LST).

This is a fixed version of the original ONS tool available at: http://titan.plasma.xg8.de:8080/~rtc/

It can be used along with git to get text diffs on GFA files (but not merges):

# make sure you have gfalist in your $PATH

$ git diff
diff --git a/test.gfa b/test.gfa
index 9dfbbd6..b8612d8 100644
Binary files a/test.gfa and b/test.gfa differ
$ git config --local diff.gfa.textconv 'gfalist -c'
$ echo '*.gfa diff=gfa' >> .gitattributes
$ git diff
diff --git a/test.gfa b/test.gfa
index 9dfbbd6..b8612d8 100644
--- a/test.gfa
+++ b/test.gfa
@@ -0,0 +1 @@
+QUIT 0

See [http://git-scm.com/book/en/Customizing-Git-Git-Attributes#Binary-Files](the git book) for more info on using text filters and difftools on binary files with git.

Download

Sources and binary packages: (see releases section)

Get it on Codeberg

History

Original readme below:

OUR NEXT STEP -- The GFABASIC4 development package
Copyright (C) 1992-2001  Peter Backes

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
the Free Software Foundation; version 2 of the License, not any 
earlier or later version.

This program 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 this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA