4lt / quake-util Goto Github PK
View Code? Open in Web Editor NEWFile IO and data structures for the 1996 FPS Quake
File IO and data structures for the 1996 FPS Quake
Current benching apparatus runs several iterations; would like just 1 iteration
Apparently QBSP supports texture names with spaces. But it doesn't support escaped quotes. But TrenchBroom does? Whee.
A) Handle whatever QBSP handles
B) Handle whatever TrenchBroom handles
C) Handle both with a switch, with default behavior rejecting anything ambiguous
Don't handle escape sequences. Read what can be read unambiguously only. Write without quotes if possible.
"some text"
lexes to token some text
(starts and ends with quotes)some"text
lexes to token some"text
(doesn't start with quote, contains quote)so"me text"
lexes to tokens so"me
and text"
(doesn't start with quote, contains quote and space)"sometext"
can't be written (starts with quote)some"text
is written as some"text
(contains quote, no spaces)some text
is written as "some text"
(contains space, no quote)so"me text
can't be written (contains space and quote)Current state is to check each piece of the map before writing, which could lead to failure during a write; this would result in a "corrupt" file.
Current state writes formatted map representation to sink()
; avoid this by using "blackbox"
Rename validate
to check_writable
and only focus on verifying what can be written to file and parsed back
Perform benches on current state, and compare with interned strings.
Also check conversion to number at lexer stage.
Maps are too big. Download maps from another source during testing/benchmarking. DO NOT require downloading just to build.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.