Simple Scanner and Parser