reading and writing of entries with the grammar, mostly spaces and newlines changed

This commit is contained in:
Trilarion 2020-09-04 13:50:49 +02:00
parent 9d1e410f24
commit 50ed561d66
602 changed files with 244 additions and 638 deletions

View File

@ -3,6 +3,11 @@ ftp://ftp.tuxpaint.org/unix/x/
http://antongerdelan.net/blog/ (other projects besides TestDrive)
http://cdetect.sourceforge.net/
http://circularstudios.com/
https://github.com/SadConsole/SadConsole
https://github.com/tlgkccampbell/ultraviolet
https://github.com/amerkoleci/Vortice.Windows
https://github.com/horde3d/Horde3D
https://github.com/cxong/cdogs-sdl
http://cyxdown.free.fr/bs/
http://cyxdown.free.fr/f2b/
https://github.com/nfprojects/nfengine

View File

@ -1,4 +1,4 @@
start: title description property+ note? building
start: title _EL description _EL property+ _EL (note)? building
title: "#" /(?! ).+(?<! )/ _NL // not starting or ending with a space
description: "_" /(?! ).+(?<![ _])/ "_" _NL // single line not ending with underscore
@ -9,9 +9,9 @@ _value : quoted_value | unquoted_value
quoted_value : /\".+?\"/ // with quotation marks, can contain commas
unquoted_value : /(?![ \"])[^,\n]+(?<![ \"])/ // cannot contain commas, cannot start or end with quotation mark
note.3: /(?![\-#]).*\n/+ // Unstructured text, not starting with - or #
note: /(?![\-#]).*\n/+ // Unstructured text, not starting with - or #
building: "## Building" _NL property* note? // the "building" section
building: "## Building" _NL (_EL property+)? (_EL note)? _EL* // the "building" section
_NUMBER: /[0-9]+/
@ -20,7 +20,6 @@ CR : /\r/
LF : /\n/
_NL : CR? LF
WS : (" "|/\t/)+
_EL.2 : /^$\n/m
_EL : /^$\n/m
%ignore WS
%ignore _EL
%ignore WS

View File

@ -605,7 +605,6 @@ def write_entries(entries):
"""
# iterate over all entries
entries = entries[:20]
for entry in entries:
write_entry(entry)
@ -641,29 +640,32 @@ def create_entry_content(entry):
for field in valid_fields:
field_name = field.lower()
if field_name in entry:
content += '- {}: {}\n'.format(field, ', '.join(entry[field_name]))
c = entry[field_name]
c = ['"{}"'.format(x) if ',' in x else x for x in c]
content += '- {}: {}\n'.format(field, ', '.join(c))
content += '\n'
# if there is a note, insert it
if 'note' in entry:
content += entry['note'] + '\n'
content += entry['note']
# building header
content += '## Building\n\n'
content += '## Building\n'
# building properties if present
has_properties = False
for field in valid_building_fields:
field_name = field.lower()
if field_name in entry['building']:
has_properties = True
if not has_properties:
has_properties = True
content += '\n'
content += '- {}: {}\n'.format(field, ', '.join(entry['building'][field_name]))
# if there is a note, insert it
if 'note' in entry['building']:
if has_properties:
content += '\n'
content += entry['building']['note'] + '\n'
content += '\n'
content += entry['building']['note']
return content

View File

@ -14,4 +14,3 @@ _Turn based strategy game._
## Building
- Build system: Autoconf

View File

@ -10,4 +10,3 @@ _MOAI based point-n-click graphical adventure engine._
- Code license: MIT
## Building

View File

@ -11,4 +11,3 @@ _Turn-based strategy game, an AI client development testbed._
- Code dependencies: Pillow, pygame
## Building

View File

@ -12,4 +12,3 @@ _Continuation of Bungie's Marathon 2 FPS game engine._
- Code license: GPL-3.0
## Building

View File

@ -16,4 +16,4 @@ _Retro-style platformer._
## Building
- Build system: Make
- Build system: Make

View File

@ -12,4 +12,3 @@ _Alien Assault Traders is an online, web-based, turn-based strategy space tradin
- Developer: Mark Dickenson, Rick Thomson
## Building

View File

@ -14,4 +14,3 @@ _Cross-platform library mainly aimed at video game and multimedia programming._
## Building
- Build system: CMake

View File

@ -11,4 +11,3 @@ _Turn based strategy indie game project._
- Code dependencies: Phaser
## Building

View File

@ -12,4 +12,3 @@ _Quest-driven Roguelike fantasy dungeon crawler RPG with a powerful story._
- Code license: GPL-2.0
## Building

View File

@ -13,4 +13,4 @@ _Chess game._
## Building
- Build system: Gradle
- Build system: Gradle

View File

@ -13,4 +13,3 @@ _Single-player dungeon exploration game._
- Code dependencies: SDL
## Building

View File

@ -11,4 +11,3 @@ _Port of the original Ares code base that was open sourced in 2008._
- Code license: LGPL-3.0
## Building

View File

@ -11,4 +11,3 @@ _AntiChess is an anti chess game. You have to take your opponents piece if you c
- Code license: MIT
## Building

View File

@ -11,4 +11,3 @@ _Engine for Frogatto and Friends._
- Code license: zlib (src folder)
## Building

View File

@ -14,4 +14,4 @@ _Fly an airplane, fire missiles, drop bombs, destroy enemy buildings and planes.
## Building
- Build system: Make
- Build system: Make

View File

@ -12,4 +12,3 @@ _Action/RPG sidescroller, focused not just on fighting, but on story, and charac
- Code dependencies: pygame
## Building

View File

@ -11,4 +11,3 @@ _Turn based strategy game. It has simple and well designed rules._
- Code license: GPL-3.0
## Building

View File

@ -14,4 +14,3 @@ _Port of Arx Fatalis, a 2002 first-person role-playing game / dungeon crawler._
## Building
- Build system: CMake

View File

@ -13,4 +13,4 @@ _3D space scroll-shooter with spaceship upgrade possibilities._
## Building
- Build system: CMake
- Build system: CMake

View File

@ -13,9 +13,8 @@ _PBEM Game engine which is used to create many different strategy wargames today
Game engine? Implementations?
See also:
[Atlantis Little Helper](https://sourceforge.net/projects/alh/), [Dev group](https://groups.yahoo.com/neo/groups/atlantisdev/info), [Atlantis 1.0](https://github.com/ennorehling/atlantis).
[Atlantis Little Helper](https://sourceforge.net/projects/alh/), [Dev group](https://groups.yahoo.com/neo/groups/atlantisdev/info), [Atlantis 1.0](https://github.com/ennorehling/atlantis).
https://github.com/essenbee/atlantis, https://github.com/AtlaClient/AtlaClient
## Building

View File

@ -3,7 +3,7 @@
_Scorched Earth clone similar to the Worms series._
- Home: http://atanks.sourceforge.net/, https://sourceforge.net/projects/atanks
- State: mature, inactive since 2016
- State: mature, inactive since 2016
- Download: https://sourceforge.net/projects/atanks/files/
- Platform: Windows, Linux
- Keywords: action, artillery, inspired by Scorched Earth, open content, remake, wormslike

View File

@ -13,4 +13,3 @@ _Faithful remake of, and a tribute to, Atomix, a classic puzzle game created by
- Developer: Mateusz Viste
## Building

View File

@ -10,4 +10,3 @@ _A puzzle game in which you have to build full molecules._
- Code license: GPL-2.0
## Building

View File

@ -11,4 +11,3 @@ _Themeable turn-based strategy game._
- Code license: GPL-2.0
## Building

View File

@ -12,4 +12,3 @@ _Role-playing game mapping program._
- Code dependencies: wxWidgets
## Building

View File

@ -11,4 +11,3 @@ _Relatively easy to win but feature rich fantasy roguelike game with a highly in
- Code license: GPL-2.0
## Building

View File

@ -16,4 +16,4 @@ _Metroidvania with vector graphics._
## Building
- Build system: Make
- Build system: Make

View File

@ -12,4 +12,4 @@ _2D Game Engine for QML._
## Building
- Build system: QMake
- Build system: QMake

View File

@ -15,4 +15,4 @@ _Multiplayer shooter in Zero Gravity._
## Building
- Build system: Scons
- Build system: Scons

View File

@ -15,4 +15,4 @@ _Extensible ball and paddle game._
## Building
- Build system: Make
- Build system: Make

View File

@ -17,4 +17,3 @@ _Remake of the Turnbased Artillery game from 1987._
## Building
- Build system: CMake

View File

@ -13,4 +13,4 @@ _Battleship game._
## Building
- Build system: Make
- Build system: Make

View File

@ -12,4 +12,3 @@ _Battlefield Java is simple grid and turned based battle simulation game for Jav
## Building

View File

@ -15,4 +15,4 @@ May be more like alpha.
## Building
- Build system: Maven
- Build system: Maven

View File

@ -10,4 +10,3 @@ _A real-time-strategy (RTS) game._
- Code license: GPL-2.0
## Building

View File

@ -15,4 +15,4 @@ _Logic game based on Sokoban, expanded with new items such as explosives, stones
## Building
- Build system: Make
- Build system: Make

View File

@ -11,4 +11,3 @@ _Innovative, original strategy-action RPG developed in Sphere._
- Code license: GPL-2.0
## Building

View File

@ -14,4 +14,4 @@ _Cue sports simulator aiming for physical accuracy and simplicity._
## Building
- Build system: Autoconf
- Build system: Autoconf

View File

@ -4,7 +4,7 @@ _Puzzle game._
- Home: http://biniax.com/
- Media: https://en.wikipedia.org/wiki/Biniax
- State: mature, inactive since 2012
- State: mature, inactive since 2012
- Download: http://www.tuzsuzov.com/biniax/download2.html
- Platform: Windows, Linux, macOS, Android
- Keywords: action, puzzle

View File

@ -12,4 +12,3 @@ _Turn-based 4X strategy game set in space in the style of classics such as Micro
See also [Android/Java version](https://bitbucket.org/sarkanyi/bote-libgdx/) and https://blotunga.itch.io/birth-of-the-empires
## Building

View File

@ -12,4 +12,4 @@ _Clone of Bug Bomber._
## Building
- Build system: CMake
- Build system: CMake

View File

@ -15,4 +15,3 @@ Fork is [Red Nova Traders](https://sourceforge.net/projects/rednova/), inactive
See also https://github.com/myprohost/BlackNovaTrader, https://github.com/Kambyses/BlackNova-Traders
## Building

View File

@ -15,4 +15,4 @@ _Blackvoxel is a 3D voxel sandbox game. The backstory takes place in the future,
## Building
- Build system: Make
- Build system: Make

View File

@ -16,4 +16,4 @@ Part of Blender.
## Building
- Build system: CMake
- Build instructions: https://wiki.blender.org/index.php/Dev:Doc/Building_Blender
- Build instructions: https://wiki.blender.org/index.php/Dev:Doc/Building_Blender

View File

@ -14,4 +14,4 @@ _Blinken is the KDE implementation of the memory game Simon Says._
## Building
- Build system: CMake
- Build system: CMake

View File

@ -11,4 +11,3 @@ _2D engine that runs Lua scripts._
- Code license: zlib
## Building

View File

@ -13,4 +13,3 @@ _Little turn-based strategy game based on Pendulous shareware rules._
See also [Pendulous](http://www.blackfalcongames.net/?p=225).
## Building

View File

@ -10,4 +10,3 @@ _2D mission and objective-based platform game._
- Code license: GPL-3.0
## Building

View File

@ -15,4 +15,4 @@ _Blob Wars: Blob And Conquer is a 3D action game created by Parallel Realities._
## Building
- Build system: Make
- Build system: Make

View File

@ -3,7 +3,7 @@
_Continuation of the famous Blobby Volley 1.x arcade game._
- Home: http://blobby.sourceforge.net/, https://sourceforge.net/projects/blobby/
- State: mature, inactive since 2017
- State: mature, inactive since 2017
- Download: https://sourceforge.net/projects/blobby/files/
- Platform: Windows, Linux, macOS
- Keywords: action, arcade
@ -12,4 +12,3 @@ _Continuation of the famous Blobby Volley 1.x arcade game._
- Code license: GPL-2.0
## Building

View File

@ -13,4 +13,4 @@ _Bloboats is a side-scrolling arcade racing game. The game is similar to X-Moto,
## Building
- Build system: Make
- Build system: Make

View File

@ -13,4 +13,3 @@ _2D arcade platform game._
- Code license: GPL-2.0
## Building

View File

@ -3,7 +3,7 @@
_Adaptation of the original BlockOut® DOS game edited by California Dreams in 1989._
- Home: http://www.blockout.net/blockout2/, https://sourceforge.net/projects/blockout/
- State: mature, inactive since 2014
- State: mature, inactive since 2014
- Download: https://sourceforge.net/projects/blockout/files/blockout/
- Platform: Windows, Linux
- Keywords: puzzle, remake

View File

@ -15,4 +15,4 @@ _BomberClone is an AtomicBomberMan clone started by Steffen Pohle. Both data and
## Building
- Build system: Autoconf
- Build system: Autoconf

View File

@ -3,7 +3,7 @@
_Classic bomberman game._
- Home: http://bombermaaan.sourceforge.net/, https://sourceforge.net/projects/bombermaaan/
- State: mature, inactive since 2010
- State: mature, inactive since 2010
- Download: http://bombermaaan.sourceforge.net/download.php, https://sourceforge.net/projects/bombermaaan/files/
- Platform: Windows, Linux
- Keywords: action, arcade
@ -12,4 +12,3 @@ _Classic bomberman game._
- Code license: GPL-3.0
## Building

View File

@ -14,4 +14,4 @@ _Remake of Bomberman, another Dynablaster clone._
## Building
- Build system: Make
- Build system: Make

View File

@ -13,4 +13,4 @@ _Remake of Bomberman._
## Building
- Build system: Make
- Build system: Make

View File

@ -13,4 +13,3 @@ _Futuristic real time strategy game (RTS)._
Code repository not available (https://www.boswars.org/development.shtml).
## Building

View File

@ -13,4 +13,3 @@ _OpenGL real-time strategy game._
More like alpha.
## Building

View File

@ -14,4 +14,3 @@ _Dual n-back brain training exercise._
- Assets license: CC (caprica-letters and all the music in the latest version
## Building

View File

@ -12,4 +12,3 @@ _Inspired by the once popular "Battle Chess" released by Interplay circa 1988._
- Code license: GPL-2.0
## Building

View File

@ -11,4 +11,3 @@ _Football (a.k.a. soccer) manager game featuring many international leagues and
- Code license: GPL-2.0
## Building

View File

@ -15,4 +15,3 @@ _Multiplayer tank game._
## Building
- Build system: Autoconf

View File

@ -4,7 +4,7 @@ _Overhead run-and-gun game._
- Home: https://cxong.github.io/cdogs-sdl/
- Media: https://en.wikipedia.org/wiki/C-Dogs
- State: mature
- State: mature
- Download: https://cxong.github.io/cdogs-sdl/downloads.html
- Platform: Windows, Linux, macOS
- Keywords: action, inspired by C-Dogs, remake, shooter
@ -17,4 +17,3 @@ _Overhead run-and-gun game._
## Building
- Build system: CMake

View File

@ -13,4 +13,3 @@ _3D game engine._
## Building
- Build system: VisualStudio

View File

@ -11,4 +11,3 @@ _Mix between action and rpg._
- Code dependencies: pygame, wxPython
## Building

View File

@ -14,4 +14,3 @@ _Remake of the popular citybuilder/economic strategy - Caesar III, videogame by
## Building
- Build system: CMake

View File

@ -15,4 +15,3 @@ _Online text-based role-playing game featuring ASCII art._
See also [Candy Box](https://github.com/candybox2/candybox)
## Building

View File

@ -5,7 +5,7 @@ _Card Stories is an online multiplayer HTML5 based game of cards that promotes c
- Home: https://web.archive.org/web/20190126033549/https://cardstories.org/
- State: beta, inactive since 2012
- Keywords: puzzle, cards, open content
- Code repository: https://github.com/farsides/cardstories.git, https://gitorious.org/cardstories/cardstories.git (read-only)
- Code repository: https://github.com/farsides/cardstories.git, https://gitorious.org/cardstories/cardstories.git (read-only)
- Code language: JavaScript, Python
- Code license: AGPL-3.0
- Code dependencies: Twisted

View File

@ -3,7 +3,7 @@
_3D and 2D game engine using modern Object Pascal._
- Home: https://castle-engine.io/
- State: mature
- State: mature
- Download: (see home)
- Keywords: game engine, framework
- Code repository: https://github.com/castle-engine/castle-engine.git

View File

@ -13,4 +13,3 @@ _Castle of the Winds remake._
See also Castle of the Winds in Elm.
## Building

View File

@ -13,4 +13,3 @@ _3D-engine (C++/DirectX9) and a fully playable prototype of a 3rd person action/
- Developer: Olli Sorjonen, Sami Sorjonen, Jani Kajala, Toni Aittoniemi
## Building

View File

@ -12,4 +12,3 @@ _Post-apocalyptic roguelike._
See also [Cataclysm: Dark Days Ahead](cataclysm_dark_days_ahead.md) (fork)
## Building

View File

@ -3,7 +3,7 @@
_Turn-based survival game set in a post-apocalyptic world._
- Home: https://cataclysmdda.org/, https://discourse.cataclysmdda.org/
- State: mature
- State: mature
- Download: https://cataclysmdda.org/releases/
- Platform: Windows, Linux, macOS
- Keywords: role playing, inspired by Cataclysm, remake, roguelike

View File

@ -13,4 +13,4 @@ _Clone of Ugh!._
## Building
- Build system: CMake
- Build system: CMake

View File

@ -3,7 +3,7 @@
_Top-down space shooter in the legacy of Chromium BSU._
- Home: https://sourceforge.net/projects/celestron/
- State: beta, inactive since 2012
- State: beta, inactive since 2012
- Download: https://sourceforge.net/projects/celestron/files/
- Keywords: action, shooter, top-down
- Code repository: https://git.code.sf.net/p/celestron/code, https://gitlab.com/osgames/celestron.git (+)
@ -12,4 +12,3 @@ _Top-down space shooter in the legacy of Chromium BSU._
- Code dependencies: NumPy, pygame
## Building

View File

@ -11,4 +11,3 @@ _Data driven game engine._
- Code license: CC0
## Building

View File

@ -13,4 +13,3 @@ _Collection of educational activities for young children._
- Code dependencies: NumPy, pygame
## Building

View File

@ -3,7 +3,7 @@
_Doom source port that accurately reproduces the experience of Doom as it was played in the 1990s._
- Home: https://www.chocolate-doom.org/wiki/index.php/Chocolate_Doom, https://sourceforge.net/projects/chocolate-doom/
- State: mature
- State: mature
- Download: https://www.chocolate-doom.org/wiki/index.php/Downloads, https://sourceforge.net/projects/chocolate-doom/files/
- Platform: Windows, Linux, macOS
- Keywords: action, inspired by Doom + Heretic + Hexen + Strife, remake, shooter

View File

@ -13,4 +13,3 @@ _An MMORPG that's all about grinding and doing chores._
## Building
- Build system: CMake

View File

@ -10,4 +10,3 @@ _Exact clone of Sid Meier's Civilization._
- Code license: CC0
## Building

View File

@ -14,4 +14,3 @@ _Role-playing game created by Jeff Vogel of Spiderweb Software._
Started as a commercial project. Part of the Exile series and released in 1997 by Spiderweb Software.
## Building

View File

@ -16,4 +16,3 @@ _Update of the classic DOOM engine inside DOOM 3 BFG Edition._
Classic RBDoom 3 BFG is updating the classic DOOM engine inside DOOM 3 BFG Edition
## Building

View File

@ -14,4 +14,3 @@ _Cocos2d-x is an open-source game framework written in C++._
## Building
- Build system: CMake

View File

@ -14,4 +14,4 @@ _Remake of Escape from Colditz._
## Building
- Build system: Make
- Build system: Make

View File

@ -16,4 +16,3 @@ More repositories?
## Building
- Build system: setup.py

View File

@ -11,4 +11,3 @@ _Nostalgic glimpse in the past in a form of Commodore 64 game "Commando"._
- Code dependencies: melonJS
## Building

View File

@ -11,4 +11,3 @@ _4X game, similar to the Civilization series of games._
- Code license: GPL-2.0
## Building

View File

@ -12,4 +12,4 @@ _Construction game._
## Building
- Build system: CMake
- Build system: CMake

View File

@ -13,4 +13,3 @@ _Two or more battle programs (called "warriors") compete for control of a virtua
See also [SDL pMars](https://corewar.co.uk/pihlaja/pmars-sdl/index.htm), [corewar.io](https://www.corewar.io/) with [sources on Github](https://github.com/corewar/corewar)
## Building

View File

@ -14,4 +14,3 @@ _Reimplementation of the 1997 Bullfrog business sim Theme Hospital._
## Building
- Build system: CMake

View File

@ -13,4 +13,3 @@ _Fun puzzle games that run on any terminal._
- Assets license: None
## Building

View File

@ -15,4 +15,4 @@ networking support
## Building
- Build system: Autoconf
- Build system: Autoconf

View File

@ -14,4 +14,4 @@ _Clone of Minecraft._
## Building
- Build system: CMake
- Build system: CMake

View File

@ -13,4 +13,3 @@ _Turn-based tactical war game._
## Building
- Build system: Autoconf

View File

@ -14,4 +14,4 @@ _Life and evolution simulator._
## Building
- Build system: CMake
- Build system: CMake

View File

@ -14,4 +14,3 @@ _Cooperative multiplayer graphical RPG and adventure game._
See also [Gridarta for Crossfire, the map editor](https://sourceforge.net/projects/gridarta/).
## Building

Some files were not shown because too many files have changed in this diff Show More