Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Use Fuzion

If you followed the installation instructions you should now have a directory containing the following.

  ├── bin                           # run export PATH=$PWD/bin:$PATH to add to PATH
  │   ├── fz                        # fz the fuzion compiler
  │   └── fzjava                    # utility to generate fuzion code from java modules
  ├── classes                       # java class files
  |   └ ...
  ├── examples                      # some small examples
  │   ├── complex
  │   │   └── pythagoreanTriple.fz  # fz examples/complex/pythagoreanTriple.fz
  │   ├── javaGraphics
  │   │   ├── gfx.fz                # make -C examples/javaGraphics
  |   └...
  ├── lib                           # this directory contains the standard library of fuzion
  │   ├── array.fz
  │   ├── bool.fz
  │   ├── choice.fz
  │   ├── codepoint.fz
  │   ├── codepoints.fz
  │   ├── f32.fz
  │   ├── f64.fz
  │   ├── i32.fz
  │   ├── i64.fz
  │   ├── List.fz
  │   ├── say.fz
  │   ├── string.fz
  │   ├── sum.fz
  │   ├── u32.fz
  │   ├── u64.fz
  │   ├── unit.fz
  │   ├── void.fz
  │   └── yak.fz
  |   └...
  ├── modules                       # generated fuzion code from java.base, java.gfx, ...
  │   ├── java.base
  │   └...
  └...
  1. To add the fz command to $PATH run: export PATH=$PWD/bin:$PATH
  2. Then run your first example: fz examples/complex/pythagoreanTriple.fz
  3. To compile fuzion code run fz -c examples/complex/pythagoreanTriple.fz
last changed: 2024-06-28