跳到主要内容

cli / symbol

symbol is a utility tool for loading and analyzing LPC files using the FluffOS driver infrastructure.

Usage

./symbol <config> lpc_file

Arguments

ArgumentDescription
configPath to the driver configuration file
lpc_filePath to the LPC file to load and process

Description

The symbol tool initializes the FluffOS driver with the specified configuration file and attempts to load the specified LPC file. It enables symbol processing and reports whether the file was successfully loaded.

This tool is useful for:

  • Validating LPC file syntax
  • Testing object compilation outside of the full driver environment
  • Debugging compilation issues

Exit Codes

CodeDescription
0Success - LPC file loaded successfully
1Error - Failed to load object or bad usage

Example

./symbol etc/config.test /domains/test/obj/sword.c

See Also

  • driver - Main FluffOS driver executable
  • lpcc - LPC compiler utility