Mads M. Jensen ca64bbe995 Merge pull request #757 from ditatompel/master 2 달 전
..
interactive a10e49a3c8 Move examples, do not execute them during testing 1 년 전
name_resolution_error 5760135223 Allow overwriting of constants/functions, closes #149 2 년 전
parse_error bfa32eac73 Change postfix apply to |> 1 년 전
runtime_error cd65049596 feat(ffi/procedures): assert_eq/3: better error message using consistent units for comparands 1 년 전
tests bdbd33de0e test: fix test where metric teaspoons are compared to mL and add check on US teaspoons vs mL 3 달 전
typecheck_error d9de66a365 Comment out failing tests 1 년 전
3d_printing.nbt 8c4d563233 Add 3D printing example 1 년 전
acidity.nbt 21b8c86ca4 Fix tests 2 년 전
air_resistance.nbt dc1eeeb2ad Rename speed => velocity 2 년 전
barometric_formula.nbt c354c0995f String interpolation with arbitrary sub-expressions! 2 년 전
binomial_coefficient.nbt 6b6d0de3c7 Improve binomial coeffient example using logical operators 1 년 전
body_mass_index.nbt e157883a81 Add examples to the documentation 2 년 전
custom_dimensions.nbt 3c4d93af1b Shorthand notation for adding new dimensions, closes #42 2 년 전
earth_mass.nbt eae4c53fd9 Initial support for multiline statements, see #112 2 년 전
euler_approximation.nbt af0f856958 Add euler approximation example 2 년 전
factorial.nbt 9073f19d4f Major documentation update 1 년 전
flops.nbt 86451742fa Update FLOP example 2 년 전
generics.nbt b445d5501b Add type parameters to the type 'AST', check missing Dim constraints 1 년 전
geographical_distance.nbt 7bc27bbc67 New example: Geographical distance 1 년 전
hello_world.nbt e8a709684b Add strings to the language, use markup for printing 2 년 전
inter_dot_spacing.nbt 1b214e25b6 Add misc units 2 년 전
kinetic_energy.nbt dc1eeeb2ad Rename speed => velocity 2 년 전
medication_dosage.nbt c354c0995f String interpolation with arbitrary sub-expressions! 2 년 전
molarity.nbt e157883a81 Add examples to the documentation 2 년 전
money.nbt c2a8a633d7 Add percentage-calculation functions 1 년 전
musical_note_frequency.nbt c354c0995f String interpolation with arbitrary sub-expressions! 2 년 전
nested_function_calls.nbt ae7be9b3e4 Rename project to Numbat 2 년 전
numbat_syntax.nbt 73691727c2 treat semicolon as newline 2 달 전
paper_size.nbt ff57ae9adf Safe versions of round/ceil/floor/trunc 1 년 전
pendulum.nbt a2be63f82d Add short+long aliases for most phys. constants 2 년 전
pipe_flow_rate.nbt c354c0995f String interpolation with arbitrary sub-expressions! 2 년 전
population_growth.nbt ff57ae9adf Safe versions of round/ceil/floor/trunc 1 년 전
print.nbt c354c0995f String interpolation with arbitrary sub-expressions! 2 년 전
projectile_motion.nbt dc1eeeb2ad Rename speed => velocity 2 년 전
readme-demo.nbt 4756a1989e Enable tests to run without internet access 1 년 전
recipe.nbt b445d5501b Add type parameters to the type 'AST', check missing Dim constraints 1 년 전
stopping_distance.nbt dc1eeeb2ad Rename speed => velocity 2 년 전
submarine_cable.nbt 570521135a Add submarine cable example 2 달 전
thermal_conductivity.nbt fda779e476 Add more physical dimensions 2 년 전
travel_cost.nbt b87cbf01cd Add travel cost example 1 년 전
type_inference_gauss_elimination.nbt afd3a57b9b Type-inference Gauss elimination example 1 년 전
unicode.nbt a2be63f82d Add short+long aliases for most phys. constants 2 년 전
voyager.nbt e3aa7b7230 Add Voyager 1 example 1 년 전
what_if_11.nbt c8fc155c2c Use mean earth radius, update XKCD/What-if examples 1 년 전
what_if_158.nbt 60ba4e642f Use '%' in tutorial 1 년 전
workhours.nbt d43737c1e6 Use tropical years as 'year' unit 1 년 전
xkcd_2585.nbt ff57ae9adf Safe versions of round/ceil/floor/trunc 1 년 전
xkcd_2812.nbt ff57ae9adf Safe versions of round/ceil/floor/trunc 1 년 전
xkcd_681.nbt 2ead484c7f Add XKCD comics to documentation 1 년 전
xkcd_687.nbt deda3fe26c Update examples in book 2 년 전

readme-demo.nbt

8 km / (1 h + 25 min)
140 € -> GBP
atan2(30 cm, 1 m) -> deg
let ω = 2π c / 660 nm
print("Energy of red photon: {ℏ ω -> eV}")