# parse_version

Parse a semantic version string to a comparable integer.

```rhai
parse_version(version_str: &str) -> i64
```

## Examples

```rhai
let v1 = parse_version("1.25.5");
let v2 = parse_version("1.24.0");
if v1 > v2 {
    print("v1 is newer");
}
```

```rhai
let current = parse_version("2.0.0");
let required = parse_version("1.5.0");
if current >= required {
    print("Version requirement met");
}
```
