Changeset - ddacf35e9373
[Not reviewed]
1 2 1
mh - 4 years ago 2021-01-07 11:48:12
contact@maxhenger.nl
move parser into own subdir
3 files changed with 15 insertions and 3 deletions:
0 comments (0 inline, 0 general)
.gitignore
Show inline comments
 
# TODO Documents
 
todo_*.md
 

	
 
# Build system
 
Cargo.lock
 
target
 
/.idea
 
**/*.rs.bk
 
Cargo.lock
 

	
 
# IDEs
 
/.idea
 

	
 
# Binaries
 
main
 

	
 
# Examples
 
examples/*/*.exe
 
examples/*.dll
 
examples/reowolf*
 
examples/*.txt
 
examples/lib*
 
examples/lib*.*
 
examples/*/amy
 
examples/*/bob
 
examples/*/main
 

	
 
# Logs
 
logs/*
 
logs/*/*
src/protocol/inputsource.rs
Show inline comments
 
@@ -46,13 +46,13 @@ primitive merger(in l, in r, out o) {
 

	
 
impl InputSource {
 
    // Constructors
 
    pub fn new<R: io::Read, S: ToString>(filename: S, reader: &mut R) -> io::Result<InputSource> {
 
        let mut vec = Vec::new();
 
        reader.read_to_end(&mut vec)?;
 
        // vec.extend(STD_LIB_PDL.to_vec());
 
        vec.extend(STD_LIB_PDL.to_vec());
 
        Ok(InputSource {
 
            filename: filename.to_string(),
 
            input: vec,
 
            line: 1,
 
            column: 1,
 
            offset: 0,
src/protocol/parser/mod.rs
Show inline comments
 
file renamed from src/protocol/parser.rs to src/protocol/parser/mod.rs
0 comments (0 inline, 0 general)