Author Topic: Opensource Announcement for AutoCAD AutoLISP Extension  (Read 1687 times)

0 Members and 1 Guest are viewing this topic.

Jeff H

  • Needs a day job
  • Posts: 6150
Opensource Announcement for AutoCAD AutoLISP Extension
« on: August 05, 2020, 10:24:00 AM »

Quote
As part of Autodesk Opensource Initiative, we are glad to announce a new member to the family, the “VSCode extension for AutoLISP” which is now Opensource in Github.

https://adndevblog.typepad.com/autocad/2020/08/opensource-announcement-for-autocad-autolisp-extension.html

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
Re: Opensource Announcement for AutoCAD AutoLISP Extension
« Reply #1 on: August 05, 2020, 10:33:11 AM »
Nice.

*click-click*

Typescript?! Who knows typescript?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Jeff H

  • Needs a day job
  • Posts: 6150
Re: Opensource Announcement for AutoCAD AutoLISP Extension
« Reply #2 on: August 05, 2020, 10:57:45 AM »
Nice.

*click-click*

Typescript?! Who knows typescript?
I messed with it a little.

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
Re: Opensource Announcement for AutoCAD AutoLISP Extension
« Reply #3 on: August 05, 2020, 11:38:58 AM »
Any good? ...I mean to say: if you were forced to maintain that extension, could you dive-in?, and/or "should" it have been written in C#?, etc.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Jeff H

  • Needs a day job
  • Posts: 6150
Re: Opensource Announcement for AutoCAD AutoLISP Extension
« Reply #4 on: August 05, 2020, 02:27:55 PM »
Any good? ...I mean to say: if you were forced to maintain that extension, could you dive-in?, and/or "should" it have been written in C#?, etc.
I could be wrong but guessing VSCODE extension API requires javascript, and Typescript spits out javascript, but enables compile time checking of javascript, .
I dont think you can write extension in C#, but if you can use Typescript then you definitely can do it in just javascript.

It would be neat to have the same thing for AutoLisp a "TypeAutoLisp" I really know nothing about AutoLisp but it would allow something like
Code: [Select]
(Interface Point3D (x:Real, y:Real, z:Real))Now this would error
Code: [Select]
(setq pnt:Point3D (5, 8, "H"))