Fortunately, many languages have a rational type, even Python, which might be more ergonomic even if ratio literals aren't supported:
$ python from fractions import Fraction as f f(1, 2) + f(1, 8) + f(1, 8) # 3/4
Syntax-wise, you could use Racket (or another Scheme, with a little more difficulty) to make a very thin layer over normal Scheme, and package it into a program called `calc`, like this:
user@computer:~$ calc > 1/2 + 1/8 + 1/8 $1 = 3/4 >