Skip to content

Syntax highlighting and rudimentary auto-complete for an LC3 editor.

Notifications You must be signed in to change notification settings

ctfloyd/LC3EzEdit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC3 EZ Edit

LC-3 Assembly editor featuring syntax highlighting and rudimentary auto-complete.

Why?

I was frustrated over having to write LC-3 Assembly instructions without syntax highlighting and constantly needing to reference other sources for the syntax and use cases for instructions.

For an alternative syntax highlighting in VSCode see: https://marketplace.visualstudio.com/itemdetails?itemName=PaperFanz.lc3-assembly

Use:

Download repository and compile into jar, or run from Main.java located in /src/application/Main.java.

Optionally: Use compiled jar in /out/artifacts/LCEZEDIT_jar.

Keyboard Shortcut:

CTRL + Space: Opens an autcomplete dialog if cursor is over an LC-3 ISA keyword. where you can then use numbers to choose autocomplete options.

Colors:

NOTE: PROGRAM MUST BE RELOADED AFTER MODIFYING COLORS.

Colors can be changed by modifying the colors.css file in the project source. Alternatively if using a compiled .JAR be sure that a colors.css file is in the same directory as the JAR file. If you wish to change the default colors of the application that can be done by modifying 'colors.css' in /src/editor/colors.css.

alt text

NOTE This software is very experimental and very rudimental. See TODO list below.

TODO:

  • Add ability to change colors and font scheme once compiled (can currentnly be changed in respective .css files)
  • Add ability to remap keybinds
  • Implement change code to binary/hex menu options
  • Fix some autocomplete bugs with directives
  • Fix save dialog having to overwrite file (opens dialog everytime)
  • DOCUMENTATION

About

Syntax highlighting and rudimentary auto-complete for an LC3 editor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published