This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ### [ Lexical part ] ######################################################## | |
_ascii_letter_upper | |
: 'A' - 'Z' | |
; | |
_ascii_letter_lower | |
: 'a' - 'z' | |
; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import Compression | |
public class GzipInputStream : InputStream { | |
private var decompressor : Decompressor | |
override public init(data: Data) { | |
let compressedInputStream = InputStream(data: data) | |
self.decompressor = Decompressor(compressedInputStream) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Originally written by Torsten Becker <[email protected]> in 2011 | |
import re | |
gl_function = re.compile(r'^extern\s+(.+)\s+(\w+)\s*\((.+)\)\s*;\s*$') | |
argument = re.compile(r'(\w+)\s*$') | |