Activity for The Unicon Project

  • Duke Normandin Duke Normandin posted a comment on discussion Help Getting Started

    I finally decided to learn OOP. Being "somewhat" familiar with Icon, I decided to use Unicon to do so. Unicon installation on my antiX-23.3 Linux box went ok. Not a big fan of IDEs, but because it's Christmas and charity and goodwill should prevail especially at this time of the year, I decided to test-drive Unicon ui'. Using the editor is routine. However, I have zero luck running the program and viewing the output from withinui'. There is no terminal/window that opens up showing the output. What...

  • Sergey Logichev Sergey Logichev posted a comment on discussion General Discussion

    Hello All! Currently I am comparing different implementation of WordCloud visualizations. There are the many ones. As online services and standalone programs, for example, https://wordcloudgenerator.org/unicorn/ or https://github.com/amueller/word_cloud/tree/main. The last one is written in Python - the pretty compact and powerful! It's interesting for me - does exist WordCloud implementations in Unicon? As very limited and raw solution I know only my own function PlotWords, which included in xMarkup...

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    It is very nice that Unicon 3D works fine on MX Linux. I saw that there is a version for Raspberry Pi too. Would be interesting to try it. As for MS Windows 10 I discovered that all my troubles gone when I built Unicon from current git repo. 3D works as needed. In the case it doesn't work all you need is to rebuild Unicon. No additional openGl libraries or real hardware GPU are needed. I have checked half of dozen different MS Windows installations. Best regards, Sergey.

  • Bruce Rennie Bruce Rennie posted a comment on discussion Help Getting Started

    I have just run the program below on an old laptop running MX Linux using the latest GITHUB sources and no problems found, regards and blessings Bruce Rennie On 6/1/25 16:46, Jafar wrote: What do you get when you run this: |proceduremain() w:=open("3D","gl","size=400,400") Fg(w,"ambient pink") DrawCylinder(w,0.0,1.0,-5.0,1.0,0.5,0.3) Fg(w,"specular navy") DrawDisk(w,-0.5,-0.5,-2.0,0.5,0.3) Fg(w,"emission green") DrawSphere(w,0.5,1.0,-3.0,0.5) repeat{ Refresh(w) delay(10) } end | 3D graphics on Windows...

  • Sergey Logichev Sergey Logichev modified a comment on discussion Help Getting Started

    I have tried to build unicon on other Win10 computer with real GPU and now openGl works properly! My output is: glVersion: 4.6.0 - Build 30.0.101.2079 glvendor: Intel glrenderer: Intel(R) Iris(R) Xe Graphics dim: 3 eyepos: 0.00,0.00,0.00 eyedir: 0.00,0.00,-100.00 Output in graphical windows attached. So, my first supposition was "to use openGl you need to have GPU". Obvious and simple prerequisite. But it is wrong. You need to build your code on computer with real GPU. If I build my program on my...

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    I have tried to build unicon on other Win10 computer with real GPU and now openGl works properly! My output is: glVersion: 4.6.0 - Build 30.0.101.2079 glvendor: Intel glrenderer: Intel(R) Iris(R) Xe Graphics dim: 3 eyepos: 0.00,0.00,0.00 eyedir: 0.00,0.00,-100.00 Output in graphical windows attached. So, my supposition is "to use openGl you need to have GPU". Obvious and simple prerequisite. Best regards, Sergey

  • Jafar Jafar posted a comment on discussion Help Getting Started

    From my Windows 10 machine: glVersion: 4.6.0 NVIDIA 560.94 glvendor: NVIDIA Corporation glrenderer: NVIDIA GeForce GT 1030/PCIe/SSE2 dim: 3 eyepos: 0.00,0.00,0.00 eyedir: 0.00,0.00,-100.00

  • Jafar Jafar posted a comment on discussion Help Getting Started

    This is what I get on my Windows 10 machine. I also tested on Mac and got the same result.

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    I see empty graphical window with title "3D" which are closing after fractions of second. No output. If I set "canvas=hidden" attribute for window, then I get: Run-time error 150 File gltest.icn; Line 10 drawing a 3D object while in 2D mode offending value: window_1:1(3D) Traceback: main() Refresh(window_1:1(3D)) from line 10 in gltest.icn

  • Jafar Jafar posted a comment on discussion Help Getting Started

    What do you get when you run this: procedure main() w := open("3D", "gl", "size=400,400") Fg(w, "ambient pink") DrawCylinder(w, 0.0, 1.0, -5.0, 1.0, 0.5, 0.3) Fg(w, "specular navy") DrawDisk(w, -0.5, -0.5, -2.0, 0.5, 0.3) Fg(w, "emission green") DrawSphere(w, 0.5, 1.0, -3.0, 0.5) repeat { Refresh(w) delay(10) } end

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    I found the pretty utility to check usage of OpenGl: https://sourceforge.net/projects/openglchecker/ All works fine and my benchmarks are good. So, where is a problem? Maybe in libraries used for Unicon build? I have the following ones in my Makedefs: WGLIBS=-lopengl32 -lglu32 -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinmm Sergey

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    Jafar, That is strange you have absolutely different behavior. If I set "canvas=hidden" I see output< if without canvas no output. What OpenGl driver you have installed? What CPU type of your Win10 computer?

  • Jafar Jafar posted a comment on discussion Help Getting Started

    I tested your program and it worked as is on my end. you should be able to see console output if you run the application from the.command line.

  • Sergey Logichev Sergey Logichev modified a comment on discussion Help Getting Started

    Jafar, I used hidden canvas only to see console output. If it's not defined I could see only winked graphical window which closes after opening. Thanks for ~~~ code example ~~~! I'll use it. It seems that my problem is exclusively in HW. I've tried to install the last version of Intel Graphics driver which supports OpenGl. But installation failed after prerequisite check - no supported devices found. As specified at https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html?wapkw=opengl%204%206...

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    Jafar, I used hidden canvas only to see console output. If it's not defined I could see only winked graphical window which closes after opening. Thanks for ~~~code example~~~! I'll use it. It seems that my problem is exclusively in HW. I've tried to install the last version of Intel Graphics driver which supports OpenGl. But installation failed after prerequisite check - no supported devices found. As specified at https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html?wapkw=opengl%204%206...

  • Jafar Jafar posted a comment on discussion Help Getting Started

    "canvas=hidden" will not create a drawable canvas for OpenGL to use. No buffer cause the swap buffer operation o fail. Try this only: w := open("3D", "gl", "size=400,400") BTW, you can use 3 "~" character to begin a block of code, and another 3 to end it. sourceforge will format/color it for you. Uniocn is supported.

  • Jafar Jafar posted a comment on discussion Help Getting Started

    OpenGL 3D works fine. That PR adds 2D graphics OpenGL-based implementation. Unicon already has 2D graphics implementation using X and MS Windows.

  • Jafar Jafar modified a comment on discussion Help Getting Started

    I have tried the same program on Raspberry 4B (Raspebian OS) and got the error similar by Steve: X Error of failed request: GLXBadDrawable ... When I commented lines with eyepos and eyedir attributes setting: glVersion: 3.1 Mesa 23.2.1-1~bpo12+rpt3 glvendor: Broadcom glrenderer: V3D 4.2 dim: 3 eyepos: 0.00,0.00,0.00 eyedir: 0.00,0.00,-100.00 By the way, I build Unicon from sources at https://github.com/uniconproject/unicon Sergey

  • Jafar Jafar modified a comment on discussion Help Getting Started

    I wonder if at least some of the problem is with utr9? Have you tried the 3d features as covered in utr22? Just glancing at it it's 4 years newer and there are definite differences.

  • Jafar Jafar modified a comment on discussion Help Getting Started

    For what it's worth I did get the example on pages 18+19 of utr9d to run and display - but the output did not match the pictures show in the doc (parts were missing from the displayed room and image was in grayscale, not color).

  • Jafar Jafar modified a comment on discussion Help Getting Started

    When I run this under Ubuntu Linux (22.04) I get an error message that you're not seeing under Windows: ->draw glVersion: 4.6 (Compatibility Profile) Mesa 24.0.3-1pop1~1711635559~22.04~7a9f319~dev glvendor: Intel glrenderer: Mesa Intel(R) UHD Graphics (CML GT2) dim: 3 eyepos: 0.00,0.00,0.00 eyedir: 0.00,0.00,-100.00 X Error of failed request: GLXBadDrawable Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 11 (X_GLXSwapBuffers) Serial number of failed request: 43 Current serial...

  • Jafar Jafar modified a comment on discussion Help Getting Started

    Happy New Year! I've just getting to 3D features of Unicon. And I started with the basics (utr9 doc). Unfortunately, I have discovered that Unicon 13.2 is not working properly on my Windows 10 computer. There is a small program which I used: procedure main() w := open("3D", "gl", "size=400,400", "canvas=hidden") Fg(w, "ambient yellow") WAttrib(w, "dim=3") # WAttrib(w, "eyepos=0.0,0.0,5.0") # WAttrib(w, "eyedir=0.0,0.0,1.0") write("glVersion: ", WAttrib(w, "glversion")) write("glvendor: ", WAttrib(w,...

  • Anonymous posted a comment on discussion Help Getting Started

    I have found that there are some defined problems with OpenGl for Windows Unicon. https://github.com/uniconproject/unicon/pull/464 Probably, not only for Windows.

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    I have tried the same program on Raspberry 4B (Raspebian OS) and got the error similar by Steve: X Error of failed request: GLXBadDrawable ... When I commented lines with eyepos and eyedir attributes setting: glVersion: 3.1 Mesa 23.2.1-1~bpo12+rpt3 glvendor: Broadcom glrenderer: V3D 4.2 dim: 3 eyepos: 0.00,0.00,0.00 eyedir: 0.00,0.00,-100.00 By the way, I build Unicon from sources at https://github.com/uniconproject/unicon Sergey

  • Steve Wampler Steve Wampler posted a comment on discussion Help Getting Started

    I wonder if at least some of the problem is with utr9? Have you tried the 3d features as covered in utr22? Just glancing at it it's 4 years newer and there are definite differences. On 1/2/25 07:08, Sergey Logichev wrote: Happy New Year! I've just getting to 3D features of Unicon. And I started with the basics (utr9 doc). Unfortunately, I have discovered that Unicon 13.2 is not working properly on my Windows 10 computer. There is a small program which I used: procedure main() w := open("3D", "gl",...

  • Steve Wampler Steve Wampler posted a comment on discussion Help Getting Started

    For what it's worth I did get the example on pages 18+19 of utr9d to run and display - but the output did not match the pictures show in the doc (parts were missing from the displayed room and image was in grayscale, not color). On 1/2/25 07:52, Steve Wampler wrote: When I run this under Ubuntu Linux (22.04) I get an error message that you're not seeing under Windows: ->draw glVersion: 4.6 (Compatibility Profile) Mesa 24.0.3-1pop1~1711635559~22.04~7a9f319~dev glvendor: Intel glrenderer: Mesa Intel(R)...

  • Steve Wampler Steve Wampler posted a comment on discussion Help Getting Started

    When I run this under Ubuntu Linux (22.04) I get an error message that you're not seeing under Windows: ->draw glVersion: 4.6 (Compatibility Profile) Mesa 24.0.3-1pop1~1711635559~22.04~7a9f319~dev glvendor: Intel glrenderer: Mesa Intel(R) UHD Graphics (CML GT2) dim: 3 eyepos: 0.00,0.00,0.00 eyedir: 0.00,0.00,-100.00 X Error of failed request: GLXBadDrawable Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 11 (X_GLXSwapBuffers) Serial number of failed request: 43 Current serial...

  • Sergey Logichev Sergey Logichev posted a comment on discussion Help Getting Started

    Happy New Year! I've just getting to 3D features of Unicon. And I started with the basics (utr9 doc). Unfortunately, I have discovered that Unicon 13.2 is not working properly on my Windows 10 computer. There is a small program which I used: procedure main() w := open("3D", "gl", "size=400,400", "canvas=hidden") Fg(w, "ambient yellow") WAttrib(w, "dim=3") WAttrib(w, "eyepos=0.0,0.0,5.0") WAttrib(w, "eyedir=0.0,0.0,1.0") write("glVersion: ", WAttrib(w, "glversion")) write("glvendor: ", WAttrib(w,...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    https://kate-editor.org/2010/02/03/snippets-in-kdevelop-kate/ https://github.com/KDE/kate/tree/master/addons/snippets seems gedit had it too hmmm...

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    https://kate-editor.org/2010/02/03/snippets-in-kdevelop-kate/ seems gedit had it too hmmm...

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    to put things straight, I didn't develop the code snippets plugin for kdevelop. It is already there. What I add is just some parameterized code fragmenst specific for Unicon, to see how it works. I can take alook the plugin code and see how it works and see how to proceed. Lol, but then I should jump into the Micro$ wagon. Since kdevelop doesn't have this LSP feature, the easiest logical path is to go the vscode or emacs.

  • Jafar Jafar posted a comment on discussion General Discussion

    Open those files, and make edits in them and see if that allows LSP to be smarter. I think we do parse files in the current directory, but I'm not 100% sure. We are still working on adding features. I two have a couple of students working on this currenlty, so this is an ongoing effort. Since you already added things like code snippets in KDevelop, maybe you can help with LSP to add things like those to LSP ;-).

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    confirmed for the available class/methods, but how do I put my recently developed classes to have this feature?

  • Jafar Jafar modified a comment on discussion General Discussion

    I was reading and it seems like Kate does LSP but KDevelop does not. Jos, would you be willing to share your KDevelop code? Perhaps we have a directory in the Unicon distribution where we are keeping config files for various IDE's where this would belong. Kudos! Clint

  • Jafar Jafar modified a comment on discussion General Discussion

    Syntax highlighting is provided by on or the three extensions if you installed all 3 Unicon extensions. It looks like it is working. Once you start adding more code/functions also add link/import statement to start using the class library then then you will get more relevant help. For example, try this import lang procedure main() a := Method() a. # <== type dot after the variable a, and # LSP should figure that this is an instance # of Method and gives you completion options end once you select...

  • Jafar Jafar modified a comment on discussion General Discussion

    Syntax highlighting is provided by on or the three extensions if you installed all 3 Unicon extensions. It looks like it is working. Once you start adding more code/functions also add link/import statement to start using the class library then then you will get more relevant help. For example, try this import lang procedure main() a := Method() a. # <== type dot after the variable a, and LSP should figure that this is an instance of Method and gives you completion options end once you select a method...

  • Jafar Jafar posted a comment on discussion General Discussion

    Syntax highlighting is provided by on or the three extensions if you installed all 3 Unicon extensions. It looks like it is working. Once you start adding more code/functions also add link/import statement to start using the class library then then you will get more relevant help. For example, try this import lang procedure main() a := Method() a. # <== type dot after the variable a, and LSP should figure that this is an instance of Method and gives you completion options end once you select a method...

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    this is what I got... btw, if the syntax higlighting for Unicon is there, then this means it works, isn't it?

  • Jafar Jafar posted a comment on discussion General Discussion

    The second one looks good. You should be able to get help from LSP at the point like auto-completion, hover, jump to definition and so on.

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    The idea of LSP DAP is very interesting! At the beginning vscode blamed that the server can not be started, but after building Unicon from the last state it sucseed. Below are 2 pictures. One which failed and second with sucsess. Is that okay?

  • Jafar Jafar posted a comment on discussion General Discussion

    Not sure when was the last time you pulled new Unicon source updates from GitHub, but this has been fixed a few week ago. Well I was a bit reluctant to do that because it is a Micro$ thing Exactly, that is why I like the LSP idea. We all have our preferences. I shouldn't need to switch IDEs to write Unicon code, I'd rather bring Unicon support to the IDE I like. whats the servers name? What server? The IDE typically starts its own instances of LSP/DAP, so you as a user don't have to manage this....

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    I am aware about Unicon IDE, UI. In FreeCAD people are busy discussing or building the coolest user interface. Python has a lot of gui bindings. The situation on Linux is that there are no 1 look and feel. Some prefer the old Motif widgets, other more flat and dark user interface that match their desktop. So there is always someone tweeking the gui :-D . I also prefer a uniform look across apps. About vscode, yes you are right. I have to install a new version. Well I was a bit reluctant to do that...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    I am aware about Unicon IDE, UI. In FreeCAD people are bussy discussing or building the coolest user interface. Python has a lot of gui bindings. The situation on Linux is that there are no 1 look and feel. Some prefer the old Motif widgets, other more flat and dark user interface that match their desktop. So there is always someone tweeking the gui :-D . I also prefer a uniform look across apps. About vscode, yes you are right. I have to install a new version. Well I was a bit reluctant to do that...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    Thanks Clint, what is the correct way to share my KDevelop unicon files? I do code, but mostly on my own, since I am totally blind in github/gitlab/sourceforge. Today I tried to upload those files into my github respo and it proof it was to much hasle for me. I dont have a problem sharing it here as 1 zip file.

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    Clint, my first github attempt :-D https://github.com/jmrunarko/KDevelop-Unicon regards, Jos

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    Thanks Jeffery, what is the correct way to share my KDevelop unicon files? I do code, but mostly on my own, since I am totally blind in github/gitlab/sourceforge. Today I tried to upload those files into my github respo and it proof it was to much hasle for me. I dont have a problem sharing it here as 1 zip file.

  • Clinton Jeffery Clinton Jeffery posted a comment on discussion General Discussion

    I was reading and it seems like Kate does LSP but KDevelop does not. Jos, would you be willing to share your KDevelop code? Perhaps we have a directory in the Unicon distribution where we are keeping config files for various IDE's where this would belong. Kudos! Clint On Wed, Oct 9, 2024 at 10:44 PM Jafar jafaral@users.sourceforge.net wrote: Looks like there is support for LSP: https://kate-editor.org/posts/kate-language-server-protocol-client/ I got ulsp to work preliminary with emacs. It shouldn't...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    I am aware about Unicon a IDE, UI. In FreeCAD people are bussy discussing or building the coolest user interface. Python has a lot of gui bindings. The situation on Linux is that there are no 1 look and feel. Some prefer the old Motif widgets, other more flat and dark user interface that match their desktop. So there is always someone tweeking the gui :-D . I also prefer a uniform look across apps. About vscode, yes you are right. I have to install a new version. Well I was a bit reluctant to do...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    ULSP was not installed into my installation directory. So I copied it. Need to read those information you gave to me.

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    ULSP was not installed into my installation directory. So I copy it. Need to read those information you gave to me.

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    In the mean time I stick with KDevelop/Kate, because it is what I know how it works. Still, my old brain needs training.

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    I am aware about Unicon a IDE, UI. In FreeCAD people are bussy discussing or building the coolest user interface. Python has a lot of gui bindings. The situation on Linux is that there are no 1 look and feel. Some prefer the old Motif widgets, other more flat and dark user interface that match their desktop. So there is always someone tweeking the gui :-D . I also prefer a uniform look across apps. About vscode, yes you are right. I have to install a new version. Well I was a bit reluctant to do...

  • Jafar Jafar posted a comment on discussion General Discussion

    Looks like there is support for LSP: https://kate-editor.org/posts/kate-language-server-protocol-client/ I got ulsp to work preliminary with emacs. It shouldn't be hard to get it to work woth new IDEs.

  • Jafar Jafar posted a comment on discussion General Discussion

    This is an old version compared to what I have Version: 1.93.1 (Universal) Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 Date: 2024-09-11T17:20:05.685Z (4 wks ago) Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Darwin x64 23.5.0 In the screenshot you posted, it says there is an update, wanna try that?

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    thanks for elaborating me about LSP/DAP. Have to dig deep into it. I do not know if KDevelop supports that protocol either. Unicon is in my PATH. in vscode still no luck installing those extensions.

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    thanks for elaborating about LSP/DAP. Have to dig deep into it. I do not know if KDevelop supports that protocol either. Unicon is in my PATH. in vscode still no luck installing those extensions.

  • Jafar Jafar posted a comment on discussion General Discussion

    You probably saw the reference to the extensions here at http://unicon.org/. Once you add those, you also need to build Uniocn form sources and add the bin directory in that directiory to your $PATH

  • Jafar Jafar posted a comment on discussion General Discussion

    We do have the Unicon IDE that comes with the sources called UI. In the last couplf of years we started adding support to LSP/DAP protocols so that Unicon can be used in any/your preffered IDE as long as it supports those protocols. We started with VS Code because it was relatively easy to add extensions and it has a very extensive library of other supporting extensions (eg, git, autotools, and much more). We do have three VS code Unicon extensions that work nicely on Linux/MacOS, and we are working...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    thanks Jafar! vscode 1.50.0 on linux mint 22. Version: 1.50.0 Commit: 93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3 Date: 2020-10-07T06:01:33.073Z Electron: 9.2.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Linux x64 5.15.0-41-generic Unicon deserve more attention IMO. It is easy to read apart from the string processing, but that after a while became normal. Coming from C and C++ at the beginning I have a lot problem reading python codes. I took python because it was the language...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    thanks Jafar! vscode 1.50.0 on linux mint 22. Version: 1.50.0 Commit: 93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3 Date: 2020-10-07T06:01:33.073Z Electron: 9.2.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Linux x64 5.15.0-41-generic Unicon deserve more attention IMO. It is easy to read apart from the string processing, but that after a while bacame normal. Coming from C and C++At the beginning I have a lot problem reading python codes. I took python because it was the language...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    thanks Jafar! vscode 1.50.0 on linux mint 22. Version: 1.50.0 Commit: 93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3 Date: 2020-10-07T06:01:33.073Z Electron: 9.2.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Linux x64 5.15.0-41-generic Unicon deserve more attention IMO. It is easy to read apart from the string processing, but that after a while bacame normal. Coming from C and C++At the beginning I have a lot problem reading a python codes. I took python because it was the language...

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    thanks Jafar! vscode 1.50.0 on linux mint 22. Version: 1.50.0 Commit: 93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3 Date: 2020-10-07T06:01:33.073Z Electron: 9.2.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Linux x64 5.15.0-41-generic

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    thanks Jafar! vscode 1.50.0 on linux mint 22.

  • Jafar Jafar posted a comment on discussion General Discussion

    very nice! which vscode version are you using and on what OS?

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    dear Unicon's, since I never saw Unicon in any popular IDE and the one available in VSCode doesn't work on my VSCode version, so I decided to create my own using KDevelop as IDE. At the moment it can create project templates based on Makefile, syntax highlighting and code snippets (a funny feature). I am also trying to implement code generation from UML diagrams in Umbrello to Unicon classes. By now, I am still doing the export part and testing inheritance and multi inheritance. Umbrello is able...

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    Hi Unicons an update, I managed to establish tcp communication between a client and server in Unicon. Second I tried to have a communication between a client (in C/Unicon) and a server (in Unicon/C) with luck. So I thought communication with multiple language is possible. Now Prolog...... A server in Prolog and a client in Unicon. It seems the message from the Unicon client arrives at the Prolog server. I have to innvestigate further tommorow. Regards, Jos

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    Hi Steve, Thanks , I have that book and trying to understand it. Because the examples in the book was not obvious to me, I posted this question. So I am reading again :-) @Jafar Thanks! The release does not contain the ulsp folder. Strange. I will look at those examples. Regards, Jos

  • Jos Runarka Jos Runarka modified a comment on discussion General Discussion

    @Jafar also the test folder from the release does not contain the ssl.icn. Maybe because it was not intended for release perhaps? Jos

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    @Jagffar also the test folder from the release does not contain the ssl.icn. Maybe because it was not intended for release perhaps? Jos

  • Jafar Jafar posted a comment on discussion General Discussion

    We haven't had a release in a long time, long overdue at this point. so, yes, check the sources directly on github.

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    Hi Steve, Thanks , I have that book and trying to understand it. Because the examples in the book was not obvious to me, I posted this question. So I am reading again :-) @Jaffar Thanks! The release does not contain the ulsp folder. Strange. I will look at those examples. Regards, Jos

  • Jafar Jafar modified a comment on discussion General Discussion

    I haven't played with the networking facilities but does the information in the Unicon book (available via pdf from the Unicon website and starting on page 77 [I think...]) contain anything that helps?

  • Jafar Jafar posted a comment on discussion General Discussion

    The book should cover these as Steve suggested. The best latest use case of TCP is with the ULSP server, part of the unicon sources at : https://github.com/uniconproject/unicon/tree/master/uni/ulsp There are a few examples in the tst suite too, check under tests/posix tests/general/ssl.icn covers using ssl on both server/client sides.

  • Steve Wampler Steve Wampler posted a comment on discussion General Discussion

    I haven't played with the networking facilities but does the information in the Unicon book (available via pdf from the Unicon website and starting on page 77 [I think...]) contain anything that helps? On 9/1/24 19:11, Jos Runarka wrote: Hi Jaffar, thanks a lot! How can I miss THAT thread, how embarassing :-). The two liners work like a breeze. Now I am sure that my Unicon build was okay. Your example in the discussion was intended for UDP. Using it for TCP and change "nu" and "nua" to "n" and "na"....

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    Hi Jaffar, thanks a lot! How can I miss THAT thread, how embarassing :-). The two liners work like a breeze. Now I am sure that my Unicon build was okay. Your example in the discussion was intended for UDP. Using it for TCP and change "nu" and "nua" to "n" and "na". Is there a documentation how to set an UDP and TCP connection? Or it is automatically set in Unicon by using nu/n arguments? regards, Jos

  • Jafar Jafar posted a comment on discussion General Discussion

    $include "posix.icn" procedure main(args) (*args = 1) | stop("Usage: rdate host") host := args[1] s := getserv("daytime", "udp") f := open(host||":"||s.port, "nu") | stop("Open failed: ", &errortext) writes(f, " ") if *select(f, 5000) = 0 then stop("Connection timed out.") r := receive(f) write("Time on ", host, " is ", r.msg) end

  • Jafar Jafar posted a comment on discussion General Discussion

    See this thread: https://sourceforge.net/p/unicon/mailman/unicon-group/thread/CABvuv3jkSFbzghkFYvranDpYc9nFcHXQm4JnJCw9YVOurcgEYQ%40mail.gmail.com/#msg37259199

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    Sorry forgot the example..

  • Jos Runarka Jos Runarka posted a comment on discussion General Discussion

    dear Unicons, first of all I am a new user of the Unicon Languge and this is my first post. All I can say is that I really like the languge, being from C/C++/Python. I want to try an UDP example from the book, but it doesnt work on my Linux Mint 21. Writing a simple Unicon client server does not work also. I have no problem writing and executing a C client server app. I appreciate any hints or help. Thank you in advance. Regards, Jos

  • GitHub committed [f38d73] on unicon

    Merge pull request #460 from Jafaral/fix-getrandom

  • Jafar Jafar committed [27b385] on unicon

    runtime: avoid name collision with getrandom() from libc

  • GitHub committed [9079c5] on unicon

    Merge pull request #444 from Jafaral/win-ulsp

  • Manfred Jahn Manfred Jahn modified a comment on ticket #319

    Thanks Jafar, will give it a try. Notepad++ does a good job though, it's fully customizable, has excellent comment and selective code display functions etc. I'll add a link to my current user definition below, also including an experimental "Trees.icn" code testing various graphics functions. https://www.dropbox.com/scl/fi/ufl6mixxkooczwmdtf93j/Trees.zip?rlkey=pu7xc5aqb2slk8tb0bpr7for3&dl=0

  • Manfred Jahn Manfred Jahn posted a comment on ticket #319

    Thanks Jafar, will give it a try. Notepad++ does a good job though, it's fully customizable, has excellent comment and selective code display functions etc. I'll add a link to my current user definition, also an experimental "Trees.icn" code testing various graphics functions.) https://www.dropbox.com/scl/fi/ufl6mixxkooczwmdtf93j/Trees.zip?rlkey=pu7xc5aqb2slk8tb0bpr7for3&dl=0

  • Jafar Jafar posted a comment on ticket #319

    you can also use VSCode which now comes with new Unicon extensions directly from the vscode market place. See unicon.org.

  • Manfred Jahn Manfred Jahn modified a comment on ticket #319

    Well, it seems a possible solution is to use Windows Notepad++ with the user-defined Icon highlighting by Oleg Bakharev (screenshot attached). No issues here with the special characters, and the Run command can be configured to do a compile-and-execute, too.

  • Manfred Jahn Manfred Jahn posted a comment on ticket #319

    Well, it seems a possible solution is to use Windows Notepad++ with the user-defined Icon highlighting by Oleg Bakharev (screenshpt attached). No issues here with the special characters, and the Run command can be configured to do a compile-and-execute, too.

  • GitHub committed [3da16a] on unicon

    Merge pull request #348 from Don-Ward/FixGcWait

  • Don Ward Don Ward committed [aa7f72] on unicon

    Fix indeterminate wait for GC to proceed.

  • Charles Evans Charles Evans posted a comment on ticket #311

    try diff --strip-trailing-cr ... to avoid windows line end false errors

  • Jafar Jafar modified ticket #63

    iconc &features needs Revision #

  • Charles Evans Charles Evans posted a comment on ticket #63

    If an admin will assign this to me I will close it

  • Charles Evans Charles Evans posted a comment on ticket #66

    fixed in gcc-13

  • Charles Evans Charles Evans created ticket #67

    RFE: MPV video player subwindow

  • Charles Evans Charles Evans posted a comment on ticket #292

    also: clicking on a directory symlink in file pane does not change to the dir Unicon master @ 230612 Ubuntu budgie livecd 230904, kernel 6.2.0-32-generic, Gcc 11.4.0-1ubuntu1~22.04 @ 230513

  • Manfred Jahn Manfred Jahn posted a comment on discussion Language Contributions

    The Unicon Manual has a chapter on inheritance but there isn't much on composition. So I tried my inexpert hand at implementing an animal that accesses methods from two classes (Cats and Dogs). Seems to work OK, but corrections and/or suggestions very welcome. (Original script attached.) # Composite object "Alex" (can bark and purr). # As suggested by Dave Crabbe in "Composition vs Inheritance" # YouTube Url: https://www.youtube.com/watch?v=RiRrcCUyn4M&t=2s class Animal() method ident(name, type,...

  • Manfred Jahn Manfred Jahn created ticket #319

    Editor not accepting special characters

  • Charles Evans Charles Evans posted a comment on ticket #228

    valgrind: sometimes runs ok, 17k errors, use of uninitialised values (many) XML_ParseBuffer in libexpat.so, created by a stack allocation wputstr in rwindow.r:735 created by a heap allocation

  • Charles Evans Charles Evans posted a comment on ticket #228

    valgrind gives 13814 errors then memory violation Unicon master @ 230612 Ubuntu budgie jammy livecd

  • Charles Evans Charles Evans posted a comment on ticket #248

    still ok, ubuntu budgie. Please close, worksforme

1 >
MongoDB Logo MongoDB