Claire language support
Syntax highlighting support for the Claire language.
Features
- Claire syntax highlighting
- Highlighting for strings, characters, and formats
- VS Code commands to build and publish modules
- Local or global Claire installation from VS Code
Claire modules
If a folder contains an init.cl file, it is a module. You can build it with:
- claire -cm to build an executable
- claire -cl to build a library
The VS Code commands search the nearest parent folder that contains init.cl.
VS Code commands
Command palette:
- Claire: build module as executable
- Runs
claire -cm in the module folder.
- Claire: build module as library
- Runs
claire -cl in the module folder.
- Claire: publish module as library
- Runs
claire -publish in the module folder.
- Claire: install Claire (local)
- Downloads Claire, builds, and installs into
$HOME/.local.
- Reminds you to add
$HOME/.local/bin to PATH.
- Claire: install Claire (global - all users)
- Downloads Claire, builds, and installs globally (prompts for
sudo).
Prerequisites
curl, make, tar, and a C build environment.
Settings
No specific settings.
Known issues
None at the moment.
Release notes
0.0.1
Initial release.
0.0.2
Minor updates.
0.0.3
- Add local and global Claire installation commands.
- Find the nearest parent folder containing init.cl.
- Add a command icon for the build exec command.
| |