Giro, Indiana
Giro is an unincorporated community located at the northernmost point of Gibson County in Washington Township, Gibson County, Indiana. The town is also known as Buena Vista.
Buena Vista (Giro) | |
---|---|
![]() ![]() Buena Vista (Giro) ![]() ![]() Buena Vista (Giro) | |
Coordinates: 38°30′40″N 87°28′15″W | |
Country | United States |
State | Indiana |
County | Gibson |
Township | Washington |
Elevation | 446 ft (136 m) |
ZIP code | 47640 |
FIPS code | 18-27810[1] |
GNIS feature ID | 435091[2] |
Geography
Giro is located at 38°30′40″N 87°28′15″W.
gollark: Oh, right, array indexing.
gollark: ```python# parsita-based pseudocode syntax parserfrom stmt import *from parsita import *from parsita.util import constantdef compose(f, g): return lambda x: f(g(x))def map_expr(x): start, end = x if end == "": return start return Op([start, end[1]], end[0])def map_unop_expr(x): return Op(x[1], x[0])def aliases(name, aliases): p = lit(name) for alias in aliases: p |= (lit(alias) > (lambda _: name)) return pclass ExprParser(TextParsers): ε = lit("") IntLit = reg("\-?[0-9]+") > compose(IntLit, int) StrLit = "'" >> reg("[^']*") << "'" > StrLit # TODO escapes (not in "spec" but could be needed) FloatLit = reg("\-?[0-9]+\.[0-9]+") > compose(FloatLit, float) Identifier = reg("[a-zA-Z_]+[a-zA-Z_0-9]*") > Var BracketedExpr = "(" >> Expr << ")" UnaryOperator = lit("NOT") Start = FloatLit | StrLit | IntLit | BracketedExpr | (UnaryOperator & Expr > map_unop_expr) | Identifier # avoid left recursion problems by not doing left recursion # AQA pseudocode does not appear to have a notion of "operator precedence", simplifying parsing logic nicely BinaryOperator = aliases("≤", ["<="]) | aliases("≠", ["!="]) | aliases("≥", [">="]) | lit("DIV") | lit("MOD") | lit("AND") | lit("OR") | reg("[+/*\-=<>]") End = (BinaryOperator & Expr) | ε Expr = (Start & End) > map_exprparse = ExprParser.Expr.parsex = parse("1+2+3 != 6 AND NOT 4 AND x + y")if isinstance(x, Failure): print(x.message)else: print(x.value)```
gollark: <@332271551481118732> Expression parsing is done, I think.
gollark: I wonder if AQA pseudocode *does* have operator precedence. We may need to harvest exam papers.
gollark: This will allow 3% more efficient harnessing of character set anomalies.
References
- "U.S. Census website". United States Census Bureau. Retrieved 2008-01-31.
- "Giro, Indiana". Geographic Names Information System. United States Geological Survey. Retrieved 2009-10-17.
- Stormont, Gil R. (1914). History of Gibson County, Indiana: Her People, Industries and Institutions. B.F. Bowen. pp. 381.
- "Gibson County". Jim Forte Postal History. Archived from the original on 11 September 2014. Retrieved 11 September 2014.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.