Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prohibit /? for objects outside of org.eolang #1305

Closed
yegor256 opened this issue Oct 4, 2022 · 14 comments · Fixed by #2247
Closed

prohibit /? for objects outside of org.eolang #1305

yegor256 opened this issue Oct 4, 2022 · 14 comments · Fixed by #2247
Assignees
Milestone

Comments

@yegor256
Copy link
Member

yegor256 commented Oct 4, 2022

Let's prohibit /? syntax for objects outside of org.eolang package. Let's do this inside eo-parser with a new XSL.

@yegor256
Copy link
Member Author

yegor256 commented Oct 4, 2022

@mximp please, take care of this one

@mximp
Copy link
Contributor

mximp commented Oct 17, 2022

@holydrug please assist with this task.

@mximp
Copy link
Contributor

mximp commented Oct 25, 2022

@holydrug what's up with this?

@holydrug
Copy link
Contributor

@mximp I could not deal with xml

@holydrug
Copy link
Contributor

@mximp Can you give me advice to understanding in xsl and xml. Now I learn it with hello-world project to understand at least something. Is it okey way? May be you know some lectures, book, etc.

@mximp
Copy link
Contributor

mximp commented Nov 2, 2022

@mximp Can you give me advice to understanding in xsl and xml. Now I learn it with hello-world project to understand at least something. Is it okey way? May be you know some lectures, book, etc.

@holydrug check https://www.w3schools.com/xml/default.asp

@mximp
Copy link
Contributor

mximp commented May 29, 2023

@PickBas please assist with this

@yegor256
Copy link
Member Author

@maxonfjvipon please, help with this one

@yegor256 yegor256 assigned maxonfjvipon and unassigned mximp Jul 11, 2023
@maxonfjvipon
Copy link
Member

@yegor256 what about object bool.if with return type /t?

@yegor256
Copy link
Member Author

@maxonfjvipon replace it with /?

@maxonfjvipon
Copy link
Member

maxonfjvipon commented Jul 12, 2023

@yegor256 what about objects in other packages that start with or contain org.eolang?
We have such object in eo-sys

+architect yegor256@gmail.com
+home https://github.com/objectionary/eo-sys
+package org.eolang.sys
+rt jvm org.eolang:eo-sys:jar-with-dependencies:0.0.10
+version 0.0.10

# Makes a call to Win32.
#
# For example, this is how you get the ID of the current running process:
#
# ```
# QQ.sys.win32 "GetCurrentProcessId"
# ```
#
[function args...] > win32 /?

@yegor256
Copy link
Member Author

@maxonfjvipon they should change. I think here we should return bytes

@maxonfjvipon
Copy link
Member

@yegor256 what do you think about this one?
The original idea was: (number x).pow y => if x and y are int - the result is int, if at least one of them is float - the result is float

@yegor256
Copy link
Member Author

@maxonfjvipon maybe we can declare it as such:

[x] > number
  [p] > pow /number
    ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants