Author Topic: Z80 Scheme for Programmer's Notepad and Notepad++  (Read 22023 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Z80 Scheme for Programmer's Notepad and Notepad++
« on: March 07, 2011, 07:25:47 pm »
For Programmer's Notepad:For Notepad++:For gedit:
Quote
Programmer's Notepad is a great tool for developers, featuring syntax highlighting, parenthesis matching, and tag closing among other things. It's great for all your coding needs, but it also has a conspicuous lack of syntax support for Z80 assembly programs. This Scintilla scheme file adds Z80-specific syntax information for PN users to enjoy.
Quote
Notepad++ is a great tool for developers, featuring syntax highlighting, parenthesis matching, and automatic indentation among other things. It's great for all your coding needs, but it also has a conspicuous lack of syntax support for Z80 assembly programs. This language file adds Z80-specific syntax information for N++ users to enjoy.
Quote
gedit ("Text Editor" in newer versions of GNOME) is a great tool for developers, featuring syntax highlighting, parenthesis matching, and automatic indentation among other things. It's great for all your coding needs, but it also has a conspicuous lack of syntax support for Z80 assembly programs. This gedit language file adds Z80-specific syntax information for gedit users to enjoy.
Anyway, this is a dirty hack, but it should work. I'm cheating and using Scintilla's 68K Assembler lexer to read the scheme file, but Scintilla doesn't support Z80 ASM :P

Suggestions are VERY welcome. In particular I need suggestions on what certain commands should look like, which commands I need to support, etc.
Turns out it's a LOT easier to make language files for Notepad++ than for Programmer's Notepad, so here it is! Again, comments, suggestions, post below.Finally got around to making a gedit version. I had to make the XML file myself, but it was a lot simpler and better-documented than the PN version. (No idea why PN had to make theirs so confusing.)

Download

EDIT: No, this isn't a Scheme interpreter for calculators. Ask Spencer on RevSoft for that ;)
« Last Edit: May 15, 2011, 11:54:47 pm by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #1 on: March 07, 2011, 07:26:51 pm »
Ah nice, that would be very useful. Would this be useable with Notepad++ too, for example?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #2 on: March 07, 2011, 07:28:22 pm »
Nope, sorry. At least as far as I know. Not sure how N++ does schemes, so if it does work, let me know :)
« Last Edit: March 08, 2011, 08:54:02 pm by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #3 on: March 07, 2011, 09:57:43 pm »
Ah ok. I heard it did, so I thought I would suggest the idea in case it's true.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #4 on: March 08, 2011, 08:53:20 pm »
Downloaded and installed N++ today, and it's a LOT easier to create languages for N++ than for PN. (I can see why so many people prefer N++.)

So here it is!



(See first post for download link.)
« Last Edit: March 12, 2011, 09:34:50 am by Deep Thought »




Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #5 on: March 08, 2011, 10:49:42 pm »
I like Geany. Lightweight on the resources, unlike Eclipse and NetBeans, and feature-rich. If I just want syntax highlight I use gedit. Any chance for one of those?

A little painful to get geany on windows since you have to install gcc separately though.

You don't have to, of course, but I would like it if you did. Gedit's syntax highlighting is pretty easy to change, about like bash's, but I'm not sure about geany's

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #6 on: March 08, 2011, 11:29:39 pm »
I like Geany. Lightweight on the resources, unlike Eclipse and NetBeans, and feature-rich. If I just want syntax highlight I use gedit. Any chance for one of those?

A little painful to get geany on windows since you have to install gcc separately though.

You don't have to, of course, but I would like it if you did. Gedit's syntax highlighting is pretty easy to change, about like bash's, but I'm not sure about geany's

I'm looking through some released theme files, and it doesn't look too hard to mod. I'll do it when I have the time :)




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #7 on: March 09, 2011, 12:26:56 am »
Glad to see this released ;D. This should be helpful for people. :D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #8 on: March 09, 2011, 11:53:03 pm »
Well I didn't make the Geany version yet, but I got one for gedit (both Windows and Linux)!

« Last Edit: March 11, 2011, 06:39:19 pm by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #9 on: March 10, 2011, 09:25:36 pm »
Are you planning to make this available for as many editors as possible?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #10 on: March 11, 2011, 01:09:43 pm »
http://www.ticalc.org/archives/files/ss/816/81697.gif

I really was looking forward to this :)=

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #11 on: March 11, 2011, 01:31:18 pm »
Are you planning to make this available for as many editors as possible?

Yep.




Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #12 on: March 11, 2011, 02:54:34 pm »
The Gedit link is broken :(
/e

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #13 on: March 11, 2011, 05:18:03 pm »
Right, I haven't actually uploaded it yet. Hold on.

EDIT: Done.
« Last Edit: March 11, 2011, 06:02:50 pm by Deep Thought »




Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Z80 Scheme for Programmer's Notepad and Notepad++
« Reply #14 on: March 11, 2011, 06:33:47 pm »
Thanks a bunch!
/e