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}")